Commits

Sebastian Sdorra  committed 328765c

improve Sonia.rest.EditForm getItem

  • Participants
  • Parent commits 13ee4ca

Comments (0)

Files changed (2)

File scm-webapp/src/main/webapp/resources/js/sonia.repository.js

 
     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;
   }
-
+  
 });
 
 Ext.reg('repositoryEditForm', Sonia.repository.EditForm);

File scm-webapp/src/main/webapp/resources/js/sonia.rest.js

   },
 
   getItem: function(form){
-    // abstract funtion
+    return form.getFieldValues();
   },
 
   cancel: function(){