Revision 5e66fc73 snf-cyclades-app/synnefo/ui/static/snf/js/lib/backbone-filtered-collection.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/lib/backbone-filtered-collection.js | ||
---|---|---|
141 | 141 |
|
142 | 142 |
,removeModel: function(model, colleciton, options) { |
143 | 143 |
var at = this._mapping.indexOf(options.index); |
144 |
console.log("requested remove", "options.index", options.index, |
|
145 |
"at", at, "model.id", model.id); |
|
146 | 144 |
if (at > -1) { |
147 | 145 |
this._forceRemoveModel(model, _.extend({index: at}, options)); |
148 | 146 |
} |
Also available in: Unified diff