Adding single shared folder in manage share folder is not working

Refine logic of getting hirarchylist
now it able to get single shared folder PR_SOURCE_KEY.

Reference : KMP-55
This commit is contained in:
csoni
2018-03-27 12:30:18 +05:30
parent 2d2dce1138
commit e45ea00b83
2 changed files with 236 additions and 96 deletions

View File

@ -8,13 +8,6 @@ Ext.namespace('Zarafa.plugins.mdm.data');
*/
Zarafa.plugins.mdm.data.MDMDeviceFolderStore = Ext.extend(Zarafa.core.data.MAPISubStore, {
/**
* @cfg {Zarafa.core.data.RecordCustomObjectType} customObjectType The custom object type
* which represents the {@link Ext.data.Record records} which should be created using
* {@link Zarafa.core.data.RecordFactory#createRecordObjectByCustomType}.
*/
customObjectType: Zarafa.core.data.RecordCustomObjectType.MDM_Device_Folder,
/**
* @constructor
* @param config Configuration object
@ -27,7 +20,7 @@ Zarafa.plugins.mdm.data.MDMDeviceFolderStore = Ext.extend(Zarafa.core.data.MAPIS
autoLoad: true,
remoteSort: false,
reader: new Zarafa.plugins.mdm.data.JsonDeviceFolderReader({
customObjectType: this.customObjectType
customObjectType: Zarafa.core.data.RecordCustomObjectType.MDM_Device_Folder
}),
writer: new Zarafa.plugins.mdm.data.MDMDeviceFolderWriter(),
proxy: new Zarafa.core.data.IPMProxy({