fix repository updates

This commit is contained in:
Sebastian Sdorra
2011-11-26 13:19:17 +01:00
parent 38e9c2ae94
commit 768a26ea11

View File

@@ -69,6 +69,10 @@ Sonia.repository.FormPanel = Ext.extend(Sonia.rest.FormPanel,{
var url = restUrl + 'repositories/' + item.id + '.json';
var el = this.el;
var tid = setTimeout( function(){el.mask('Loading ...');}, 100);
if (item.group){
delete item.group;
}
this.fireEvent('preUpdate', item);