Author |
|
seyazar Newbie
Joined: 26 February 2014
Online Status: Offline Posts: 16
|
Posted: 19 November 2014 at 1:39am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 19 November 2014 at 3:30am | IP Logged
|
|
|
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 |
|
|
seyazar Newbie
Joined: 26 February 2014
Online Status: Offline Posts: 16
|
Posted: 05 August 2015 at 3:52am | IP Logged
|
|
|
i think somethink like this any suggestion ?
$(document).ready(function () {
$(document).on('click', 'collapse_handler', function () {
});
});
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 05 August 2015 at 4:21am | IP Logged
|
|
|
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 |
|
|