2013-08-25 12:44:25 +02:00
|
|
|
Ext.namespace('Zarafa.plugins.calendarimporter.settings.dialogs');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @class Zarafa.plugins.calendarimporter.settings.dialogs.CalSyncEditContentPanel
|
|
|
|
* @extends Zarafa.core.ui.ContentPanel
|
|
|
|
* @xtype calendarimporter.calsynceditcontentpanel
|
|
|
|
*
|
|
|
|
* {@link Zarafa.plugins.calendarimporter.settings.dialogs.CalSyncEditContentPanel CalSyncEditContentPanel} will be used to edit ics sync entries.
|
|
|
|
*/
|
|
|
|
Zarafa.plugins.calendarimporter.settings.dialogs.CalSyncEditContentPanel = Ext.extend(Zarafa.core.ui.ContentPanel, {
|
|
|
|
/**
|
|
|
|
* @constructor
|
|
|
|
* @param config Configuration structure
|
|
|
|
*/
|
2014-05-15 01:30:00 +02:00
|
|
|
constructor : function(config) {
|
2013-08-25 12:44:25 +02:00
|
|
|
config = config || {};
|
|
|
|
|
|
|
|
// Add in some standard configuration data.
|
|
|
|
Ext.applyIf(config, {
|
|
|
|
// Override from Ext.Component
|
|
|
|
xtype : 'calendarimporter.calsynceditcontentpanel',
|
|
|
|
layout : 'fit',
|
|
|
|
model : true,
|
|
|
|
autoSave : false,
|
|
|
|
width : 400,
|
2014-05-15 01:30:00 +02:00
|
|
|
height : 350,
|
2013-08-25 12:44:25 +02:00
|
|
|
title : _('ICAL Sync'),
|
|
|
|
items : [{
|
|
|
|
xtype : 'calendarimporter.calsynceditpanel',
|
|
|
|
item : config.item
|
|
|
|
}]
|
|
|
|
});
|
|
|
|
|
|
|
|
Zarafa.plugins.calendarimporter.settings.dialogs.CalSyncEditContentPanel.superclass.constructor.call(this, config);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
Ext.reg('calendarimporter.calsynceditcontentpanel', Zarafa.plugins.calendarimporter.settings.dialogs.CalSyncEditContentPanel);
|