mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-05 02:19:43 +00:00
Fix folder's name when subscribing to a folder
This commit is contained in:
@@ -199,7 +199,7 @@ function addFolderBranchToTree(tree, user, folder, nodeId, subId, isLast) {
|
||||
node._ls = isLast;
|
||||
|
||||
var content = tree.node(node, (nodeId + subId), null);
|
||||
content._formattedName = folder.formattedName;
|
||||
content.displayName = folder.displayName;
|
||||
|
||||
return content;
|
||||
}
|
||||
@@ -228,7 +228,7 @@ function onConfirmFolderSelection(event) {
|
||||
folderName = description.replace(/>,.*$/, ">", "g");
|
||||
}
|
||||
else {
|
||||
folderName = node._formattedName;
|
||||
folderName = node.displayName;
|
||||
}
|
||||
var data = { folderName: folderName, folder: folder, type: type, window: window };
|
||||
if (parent$(accessToSubscribedFolder(folder)))
|
||||
|
||||
Reference in New Issue
Block a user