Revision 1fee361d
b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js | ||
---|---|---|
1104 | 1104 |
}, |
1105 | 1105 |
|
1106 | 1106 |
can_connect: function() { |
1107 |
return _.contains(["ACTIVE", "STOPPED"], this.get("status")) |
|
1107 |
return _.contains(["ACTIVE", "STOPPED"], this.get("status")) && |
|
1108 |
!this.get('suspended') |
|
1108 | 1109 |
}, |
1109 | 1110 |
|
1110 | 1111 |
can_disconnect: function() { |
Also available in: Unified diff