Revision 0f79ce75 snf-cyclades-app/synnefo/ui/static/snf/js/models.js
b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js | ||
---|---|---|
1895 | 1895 |
}, |
1896 | 1896 |
|
1897 | 1897 |
active: function() { |
1898 |
return this.filter(function(img){return img.get('status') != "DELETED"}); |
|
1898 |
var active_states = ['available']; |
|
1899 |
return this.filter(function(img){return img.get('status') == "available"}); |
|
1899 | 1900 |
}, |
1900 | 1901 |
|
1901 | 1902 |
predefined: function() { |
Also available in: Unified diff