mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
improve Sonia.rest.EditForm getItem
This commit is contained in:
@@ -36,12 +36,6 @@ Sonia.repository.EditForm = Ext.extend(Sonia.rest.EditForm, {
|
||||
|
||||
Ext.apply(this, Ext.apply(this.initialConfig, config));
|
||||
Sonia.repository.EditForm.superclass.initComponent.apply(this, arguments);
|
||||
},
|
||||
|
||||
getItem: function(form){
|
||||
var value = form.getFieldValues();
|
||||
console.debug( value );
|
||||
return value;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -73,7 +73,7 @@ Sonia.rest.EditForm = Ext.extend(Ext.form.FormPanel, {
|
||||
},
|
||||
|
||||
getItem: function(form){
|
||||
// abstract funtion
|
||||
return form.getFieldValues();
|
||||
},
|
||||
|
||||
cancel: function(){
|
||||
|
||||
Reference in New Issue
Block a user