568eb9170d
Added button in MDMDeviceGeneralTab Created MDMManageSharedFolderContentPanel and MDMManageSharedFolderPanel to show a dialog with multi select hierarchy Created substore sharedfolder Added proxy and response handler to handel device response Used message class instead of object type, Override hierarchy tree , hierarchy loader and folder node ui
37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
Ext.namespace('Zarafa.plugins.mdm.dialogs');
|
|
|
|
/**
|
|
* @class Zarafa.plugins.mdm.dialogs.MDMManageSharedFolderContentPanel
|
|
* @extends Zarafa.core.ui.ContentPanel
|
|
* @xtype zarafa.managesharedfoldercontentpanel
|
|
*
|
|
* This will display a {@link Zarafa.plugins.mdm.dialogs.MDMManageSharedFolderPanel contentpanel}
|
|
* to show {@link Zarafa.core.data.IPFRecord folders} which are shared with device.
|
|
*/
|
|
Zarafa.plugins.mdm.dialogs.MDMManageSharedFolderContentPanel = Ext.extend(Zarafa.core.ui.ContentPanel, {
|
|
|
|
/**
|
|
* @constructor
|
|
* @param config Configuration structure
|
|
*/
|
|
constructor: function (config) {
|
|
config = config || {};
|
|
|
|
Ext.applyIf(config,
|
|
{
|
|
xtype: 'mdm.managesharedfoldercontentpanel',
|
|
layout: 'fit',
|
|
title: dgettext('plugin_mdm','Manage Shared Folder'),
|
|
width: 300,
|
|
height: 350,
|
|
items: [{
|
|
xtype: 'mdm.managesharedfolderpanel'
|
|
}]
|
|
});
|
|
|
|
Zarafa.plugins.mdm.dialogs.MDMManageSharedFolderContentPanel.superclass.constructor.call(this, config);
|
|
}
|
|
});
|
|
|
|
Ext.reg('mdm.managesharedfoldercontentpanel', Zarafa.plugins.mdm.dialogs.MDMManageSharedFolderContentPanel);
|