Revision 828f802d

b/snf-cyclades-app/synnefo/ui/static/snf/js/models.js
693 693

  
694 694
        get_connectable_vms: function() {
695 695
            return storage.vms.filter(function(vm){
696
                return !vm.in_error_state() && !vm.is_building();
696
                return !vm.in_error_state() && !vm.is_building() && !vm.is_rebooting();
697 697
            });
698 698
        },
699 699

  
......
1168 1168
            return models.VM.BUILDING_STATES.indexOf(this.state()) > -1;
1169 1169
        },
1170 1170
        
1171
        is_rebooting: function() {
1172
            return this.state() == 'REBOOT';
1173
        },
1174

  
1171 1175
        in_error_state: function() {
1172 1176
            return this.state() === "ERROR"
1173 1177
        },

Also available in: Unified diff