1
0
Fork 0
mirror of https://github.com/silentsakky/zarafa-webapp-passwd synced 2026-07-27 10:30:56 +02:00

only chnage password when category is visible

show saving mask
This commit is contained in:
Saket Patel 2013-10-17 03:33:06 +05:30
commit 227bb4a886
3 changed files with 104 additions and 17 deletions

View file

@ -32,6 +32,8 @@ Zarafa.plugins.passwd.settings.SettingsPasswdWidget = Ext.extend(Zarafa.settings
ref : 'passwdPanel',
listeners : {
userchange : this.setModelDirty,
beforesave : this.onBeforeSave,
scope : this
}
}]
@ -63,7 +65,10 @@ Zarafa.plugins.passwd.settings.SettingsPasswdWidget = Ext.extend(Zarafa.settings
*/
onSaveSettings : function()
{
this.passwdPanel.saveChanges();
// only save when this category is visible on screen
if(this.ownerCt.isVisible()) {
this.passwdPanel.saveChanges();
}
},
/**