mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
* New icon and parameter for the 'Drafts' folder,
* Fixed a refresh issue when removing a top folder (ie. with no parent) that is the current selection.
This commit is contained in:
@@ -54,6 +54,9 @@ var FdMenu = new Class({
|
||||
infobox.info(gettext("Folder deleted."));
|
||||
if (dfolder == current_anchor.base) {
|
||||
var pfolder = ((this.current_folder.split(".")).slice(0, -1)).join(".");
|
||||
if (pfolder == "") {
|
||||
pfolder = "INBOX";
|
||||
}
|
||||
current_anchor.baseurl(pfolder, 1);
|
||||
}
|
||||
current_anchor.update.delay(500, current_anchor, 1);
|
||||
|
||||
Reference in New Issue
Block a user