Revision 375a9cb5 snf-cyclades-app/synnefo/ui/static/snf/js/views_ext.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/views_ext.js | ||
---|---|---|
290 | 290 |
|
291 | 291 |
handle_model_add: function(model, collection, options) { |
292 | 292 |
this.add_model(model); |
293 |
$(window).trigger("resize"); |
|
293 | 294 |
}, |
294 | 295 |
|
295 | 296 |
handle_model_remove: function(model, collection, options) { |
... | ... | |
404 | 405 |
model_view.el.remove(); |
405 | 406 |
this.remove_view(model_view); |
406 | 407 |
this.post_remove_model_view(model_view, m); |
408 |
$(window).trigger("resize"); |
|
407 | 409 |
delete this._model_views[m.id]; |
408 | 410 |
this.check_empty(); |
409 | 411 |
}, |
Also available in: Unified diff