Permalink
Browse files

node delte might fail

Change-Id: Ifa3694efacc0e0ac71792b0d67999c946b4f4712
  • Loading branch information...
corneliusweiss committed Sep 8, 2017
1 parent 8320408 commit 146c5aaafd826c1c8990333c393bff6f64c90786
@@ -193,6 +193,7 @@ Tine.Filemanager.NodeEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
name: 'path',
hideLabel: true,
fieldClass: 'x-ux-displayfield-text',
htmlEncode: true,
columnWidth: 1
}],[
Tine.widgets.form.RecordPickerManager.get('Addressbook', 'Contact', {
@@ -202,13 +202,9 @@ Tine.Filemanager.nodeActions.Delete = {
if (nodes && nodes.length) {
for (var i = 0; i < nodes.length; i++) {
var currNodeData = nodes[i].data;
if (typeof currNodeData.name == 'object') {
nodeName += currNodeData.name.name + '<br />';
}
else {
nodeName += currNodeData.name + '<br />';
}
nodeName += Tine.Tinebase.EncodingHelper.encode(typeof currNodeData.name == 'object' ?
currNodeData.name.name :
currNodeData.name) + '<br />';
}
}
@@ -595,12 +595,15 @@ Ext.extend(Tine.widgets.container.TreePanel, Ext.tree.TreePanel, {
}
Ext.applyIf(attr, {
text: Ext.util.Format.htmlEncode(attr.name),
qtip: Tine.Tinebase.common.doubleEncode(attr.name),
text: attr.name,
qtip: attr.name,
leaf: !!attr.account_grants,
allowDrop: !!attr.account_grants && attr.account_grants.addGrant
});
attr.text = Tine.Tinebase.EncodingHelper.encode(attr.text);
attr.qtip = Tine.Tinebase.EncodingHelper.encode(attr.qtip);
// copy 'real' data to container space
attr.container = Ext.copyTo({}, attr, Tine.Tinebase.Model.Container.getFieldNames());
},

0 comments on commit 146c5aa

Please sign in to comment.