mirror of
https://github.com/silentsakky/zarafa-webapp-passwd
synced 2026-07-27 10:30:56 +02:00
33 lines
1,004 B
JavaScript
33 lines
1,004 B
JavaScript
Ext.namespace('Zarafa.plugins.passwd.settings');
|
|
|
|
/**
|
|
* @class Zarafa.plugins.passwd.settings.SettingsPasswdCategory
|
|
* @extends Zarafa.settings.ui.SettingsCategory
|
|
* @xtype zarafa.settingspasswdcategory
|
|
*
|
|
* The passwd settings category that will allow users to change their passwords
|
|
*/
|
|
Zarafa.plugins.passwd.settings.SettingsPasswdCategory = Ext.extend(Zarafa.settings.ui.SettingsCategory, {
|
|
/**
|
|
* @constructor
|
|
* @param {Object} config Configuration object
|
|
*/
|
|
constructor : function(config)
|
|
{
|
|
config = config || {};
|
|
|
|
Ext.applyIf(config, {
|
|
title : dgettext("plugin_passwd", 'Change Password'),
|
|
categoryIndex : 9997,
|
|
xtype : 'zarafa.settingspasswdcategory',
|
|
items : [{
|
|
xtype : 'zarafa.settingspasswdwidget',
|
|
settingsContext : config.settingsContext
|
|
}]
|
|
});
|
|
|
|
Zarafa.plugins.passwd.settings.SettingsPasswdCategory.superclass.constructor.call(this, config);
|
|
}
|
|
});
|
|
|
|
Ext.reg('zarafa.settingspasswdcategory', Zarafa.plugins.passwd.settings.SettingsPasswdCategory);
|