mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
fix bug in update method of sonia.rest
This commit is contained in:
@@ -210,9 +210,10 @@ Sonia.rest.Grid = Ext.extend(Ext.grid.GridPanel, {
|
||||
submit: {
|
||||
fn: function(item){
|
||||
|
||||
item = Ext.apply(data, item);
|
||||
|
||||
var store = this.store;
|
||||
var id = data[this.idField];
|
||||
item[this.idField] = id;
|
||||
var url = String.format(this.restEditUrlPattern, id);
|
||||
|
||||
if ( debug ){
|
||||
|
||||
Reference in New Issue
Block a user