javascripts/netzkeremotecombo.js in netzke-basepack-0.11.2 vs javascripts/netzkeremotecombo.js in netzke-basepack-0.12.0.beta

- old
+ new

@@ -22,17 +22,17 @@ proxy: { type: 'direct', directFn: Netzke.providers[this.parentId].getComboboxOptions, reader: { type: 'array', - root: 'data' + rootProperty: 'data' } } }); - store.on('beforeload', function(self, params) { - params.params.attr = this.name; - },this); + store.on('beforeload', function(self, op) { + op.setParams(Ext.apply(op.getParams(), {attr: this.name})); + }, this); // insert a selectable "blank line" which allows to remove the associated record if (this.blankLine) { store.on('load', function(self, params) { // append a selectable "empty line" which will allow remove the association