View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0003386 | SOGo | Web Mail | public | 2015-11-17 14:16 | 2015-11-18 14:47 | 
| Reporter | Heiko | Assigned To | francis | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Platform | Linux | OS | Ubuntu | OS Version | 12.04.5 LTS | 
| Product Version | 2.3.3 | ||||
| Fixed in Version | 2.3.3a | ||||
| Summary | 0003386: Folder list in webmail gets folded on reload or re-login | ||||
| Description | The folder list gets folded (below the inbox) each time you login or press the browsers reload button. You can expand the folder list by clicking the "+" in front of the inbox but each time you reload or login it is folded again. It seems like this behaviour exists since the last sogo update. | ||||
| Steps To Reproduce | 
 | ||||
| Tags | No tags attached. | ||||
| https://github.com/inverse-inc/sogo/commit/a9984d948744e58e04ad43b599aacdcddf20950a As a temporary solution until 2.3.3a is out, you can apply the attached patch to modify MailerUI.js (and avoid having to recompile sogod). | |
|  bug3386-temp-patch.diff (728 bytes)   
 diff --git a/UI/WebServerResources/MailerUI.js b/UI/WebServerResources/MailerUI.js
index d42e94c..ed215ad 100644
--- a/UI/WebServerResources/MailerUI.js
+++ b/UI/WebServerResources/MailerUI.js
@@ -2401,7 +2401,7 @@ function saveFoldersState() {
     if (mailAccounts.length > 0) {
         var foldersState = mailboxTree.getFoldersState();
         var urlstr =  ApplicationBaseURL + "/saveFoldersState";
-        var parameters = "expandedFolders=" + foldersState;
+        var parameters = "expandedFolders=" + jQuery.parseJSON(foldersState).join(',');
         triggerAjaxRequest(urlstr, saveFoldersStateCallback, null, parameters,
                            { "Content-type": "application/x-www-form-urlencoded" });
     }
 | |
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2015-11-17 14:16 | Heiko | New Issue | |
| 2015-11-17 14:49 | francis | Note Added: 0009100 | |
| 2015-11-17 14:49 | francis | Status | new => resolved | 
| 2015-11-17 14:49 | francis | Fixed in Version | => 2.3.4 | 
| 2015-11-17 14:49 | francis | Resolution | open => fixed | 
| 2015-11-17 14:49 | francis | Assigned To | => francis | 
| 2015-11-17 14:49 | francis | File Added: bug3386-temp-patch.diff | |
| 2015-11-18 14:47 | francis | Fixed in Version | 2.3.4 => 2.3.3a | 
| 2015-11-18 14:47 | francis | Note Edited: 0009100 | 
