Revision cbf7b384 snf-cyclades-app/synnefo/ui/static/snf/js/models.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js | ||
---|---|---|
483 | 483 |
this.bind("change:status", _.bind(this.update_state, this)); |
484 | 484 |
return ret; |
485 | 485 |
}, |
486 |
|
|
487 |
is_deleted: function() { |
|
488 |
return this.get('status') == 'DELETED'; |
|
489 |
}, |
|
486 | 490 |
|
487 | 491 |
toJSON: function() { |
488 | 492 |
var attrs = _.clone(this.attributes); |
Also available in: Unified diff