Fix folder's name when subscribing to a folder

This commit is contained in:
Francis Lachapelle
2014-10-09 15:12:24 -04:00
parent 460ed2e7bc
commit f8a371e351
2 changed files with 3 additions and 2 deletions
@@ -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)))