Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Auto Expand Folder tree on startup Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
seyazar
Newbie
Newbie


Joined: 26 February 2014
Online Status: Offline
Posts: 16
Posted: 19 November 2014 at 1:39am | IP Logged Quote seyazar

Hi,

I want to expand all folders on webmail lite at left side at startup. is it possible ?

i try to find collapse_handler span item and call click event but it doesnt work.

Users can't recognize that small icon for expand collapse.

thanks in advance.
Back to Top View seyazar's Profile Search for other posts by seyazar
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 19 November 2014 at 3:30am | IP Logged Quote Igor

This is not configurable in current version of WebMail, but in next release, there will be a setting to have the folder list expanded.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
seyazar
Newbie
Newbie


Joined: 26 February 2014
Online Status: Offline
Posts: 16
Posted: 05 August 2015 at 3:52am | IP Logged Quote seyazar

i think somethink like this any suggestion ?

$(document).ready(function () {
    $(document).on('click', 'collapse_handler', function () {

    });
});
Back to Top View seyazar's Profile Search for other posts by seyazar
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 05 August 2015 at 4:21am | IP Logged Quote Igor

According to the developers, this is done as follows. In static/js/app.js file, locate the following code:

Code:
this.expanded = ko.observable(false);


and replace it with:

Code:
this.expanded = ko.observable(true);


Note that app.js file isn't used by default - its minified version app.min.js is used. To change that, add the following item to the array defined in data/settings/config.php file:

Code:
'labs.use-app-min-js' => false,


Also, remember to clear browser cache to apply changes.

Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide