1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Ext.namespace('Zarafa.plugins.files.settings.ui');
/**
* @class Zarafa.plugins.files.settings.ui.AccountEditContentPanel
* @extends Zarafa.core.ui.ContentPanel
* @xtype filesplugin.accounteditcontentpanel
*/
Zarafa.plugins.files.settings.ui.AccountEditContentPanel = Ext.extend(Zarafa.core.ui.ContentPanel, {
/**
* @constructor
* @param config Configuration structure
*/
constructor: function (config) {
config = config || {};
Ext.applyIf(config, {
xtype: 'filesplugin.accounteditcontentpanel',
layout: 'fit',
modal: true,
width: 400,
height: 250,
stateful: false,
title: dgettext('plugin_files', 'Edit Account'),
items: [{
xtype: 'filesplugin.accounteditpanel',
item: config.item,
backendStore : config.backendStore
}]
});
Zarafa.plugins.files.settings.ui.AccountEditContentPanel.superclass.constructor.call(this, config);
}
});
Ext.reg('filesplugin.accounteditcontentpanel', Zarafa.plugins.files.settings.ui.AccountEditContentPanel);
|