Add and delete new folders to the list to be synchronised
Write a php code for adding and removing device folder from device. Write a js code for adding and removing folder into store while user select / deselect folder
This commit is contained in:
@ -38,6 +38,25 @@ Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel = Ext.extend(Zarafa.hierarchy.ui.Tre
|
||||
|
||||
// call parent
|
||||
Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel.superclass.initComponent.apply(this, arguments);
|
||||
},
|
||||
|
||||
/**
|
||||
* The filter which is applied for filtering nodes from the
|
||||
* {@link Zarafa.hierarchy.ui.Tree HierarchyTree}.
|
||||
* It will hide own user store.
|
||||
*
|
||||
* @param {Object} folder the folder to filter
|
||||
* @return {Boolean} true to accept the folder
|
||||
*/
|
||||
nodeFilter: function (folder)
|
||||
{
|
||||
var hide = Zarafa.plugins.mdm.ui.MDMHierarchyTreePanel.superclass.nodeFilter.apply(this, arguments);
|
||||
|
||||
if(hide && this.hideOwnTree) {
|
||||
hide = !folder.getMAPIStore().isDefaultStore();
|
||||
}
|
||||
|
||||
return hide;
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user