const FEATURE_SHOW_ACCOUNT_EMAIL = 'featureShowAccountEmail';
/**
+ * FEATURE_REMEMBER_POPUP_SIZE
+ *
+ * @var string
+ */
+ const FEATURE_REMEMBER_POPUP_SIZE = 'featureRememberPopupSize';
+
+ /**
* user defined page title postfix for browser page title
*
* @var string
'description' => 'Show email address in account picker and attendee grids',
//_('Show email address in account picker and attendee grids')
),
+ self::FEATURE_REMEMBER_POPUP_SIZE => array(
+ 'label' => 'Remeber Popup Size', //_('Remeber Popup Size')
+ 'description' => 'Save edit dialog size in state',
+ //_('Save edit dialog size in state')
+ ),
),
'default' => array(
self::FEATURE_SHOW_ADVANCED_SEARCH => true,
self::FEATURE_CONTAINER_CUSTOM_SORT => true,
- self::FEATURE_SHOW_ACCOUNT_EMAIL => true,
+ self::FEATURE_SHOW_ACCOUNT_EMAIL => true,
+ self::FEATURE_REMEMBER_POPUP_SIZE => true,
),
),
self::CRONUSERID => array(
onDeActivate: Ext.emptyFn
});
+
+Tine.Tinebase.featureEnabled = function(featureName) {
+ // need to create a "dummy" app to call featureEnabled()
+ var tinebaseApp = new Tine.Tinebase.Application({
+ appName: 'Tinebase'
+ });
+ return tinebaseApp.featureEnabled(featureName);
+};
\ No newline at end of file
this.initQuickFilterField();
- // need to create a "dummy" app to call featureEnabled()
- // TODO: should be improved
- var tinebaseApp = new Tine.Tinebase.Application({
- appName: 'Tinebase'
- });
- this.advancedSearchEnabled = (tinebaseApp.featureEnabled('featureShowAdvancedSearch'));
+ this.advancedSearchEnabled = Tine.Tinebase.featureEnabled('featureShowAdvancedSearch');
this.items = [{
region: 'east',