mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
remove edit marks after save
This commit is contained in:
@@ -237,6 +237,10 @@ Sonia.group.FormPanel = Ext.extend(Sonia.rest.FormPanel,{
|
|||||||
item.members = members;
|
item.members = members;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
clearModifications: function(){
|
||||||
|
Ext.getCmp('memberGrid').getStore().commitChanges();
|
||||||
|
},
|
||||||
|
|
||||||
update: function(group){
|
update: function(group){
|
||||||
if ( debug ){
|
if ( debug ){
|
||||||
console.debug( 'update group ' + group.name );
|
console.debug( 'update group ' + group.name );
|
||||||
@@ -258,7 +262,7 @@ Sonia.group.FormPanel = Ext.extend(Sonia.rest.FormPanel,{
|
|||||||
if ( debug ){
|
if ( debug ){
|
||||||
console.debug('update success');
|
console.debug('update success');
|
||||||
}
|
}
|
||||||
// this.clearModifications();
|
this.clearModifications();
|
||||||
clearTimeout(tid);
|
clearTimeout(tid);
|
||||||
el.unmask();
|
el.unmask();
|
||||||
this.execCallback(this.onUpdate, group);
|
this.execCallback(this.onUpdate, group);
|
||||||
|
|||||||
Reference in New Issue
Block a user