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:
parent
47faed5f6b
commit
227bb4a886
3 changed files with 104 additions and 17 deletions
|
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue