lib/netzke/basepack/grid/javascripts/extensions.js in netzke-basepack-0.12.1 vs lib/netzke/basepack/grid/javascripts/extensions.js in netzke-basepack-0.12.2
- old
+ new
@@ -21,20 +21,18 @@
Ext.define('Netzke.classes.Basepack.Grid.Proxy', {
extend: 'Ext.data.proxy.Server',
batch: function(options) {
- console.log("options ", options);
if (!options) return;
for (operation in options.operations) {
var op = new Ext.data.Operation({action: operation, records: options.operations[operation]});
this[op.action](op, Ext.emptyFn, this);
}
},
destroy: function(op, callback, scope) {
var data = Ext.Array.map(op.getRecords(), function(r) { return r.getData().id; });
- console.log("data ", data);
var store = this.grid.getStore();
this.grid.serverDelete(data, function(res){
var errors = [];
for (id in res) {
var error;