mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-18 13:13:31 +00:00
Fix mailbox rename operation
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
actionClass = "UIxMailFolderActions";
|
||||
actionName = "createFolder";
|
||||
};
|
||||
renameFolder = {
|
||||
save = {
|
||||
protectedBy = "View";
|
||||
actionClass = "UIxMailFolderActions";
|
||||
actionName = "renameFolder";
|
||||
|
||||
@@ -224,6 +224,12 @@
|
||||
children,
|
||||
i;
|
||||
|
||||
if (this.name == this.$shadowData.name) {
|
||||
// Name hasn't changed
|
||||
deferred.resolve();
|
||||
return deferred.promise;
|
||||
}
|
||||
|
||||
// Local recursive function
|
||||
findParent = function(parent, children) {
|
||||
var parentMailbox = null,
|
||||
|
||||
Reference in New Issue
Block a user