Revision b3aee2e0 snf-cyclades-app/synnefo/ui/static/snf/js/neutron.js

b/snf-cyclades-app/synnefo/ui/static/snf/js/neutron.js
358 358
          var status_ok = _.contains(['DOWN', 'ACTIVE', 'CONNECTED'], 
359 359
                                     this.get('status'));
360 360
          var vm_status_ok = this.get('vm') && this.get('vm').can_connect();
361
          var vm_status = this.get('vm') && this.get('vm').get('status');
361 362
          return status_ok && vm_status_ok
362 363
        }]
363 364
      },
......
384 385
          }
385 386
        ],
386 387
        'in_progress': [
387
          ['ext_status'], function() {
388
            return _.contains(["DISCONNECTING", "CONNECTING"], this.get("ext_status"))
388
          ['ext_status', 'vm'], function() {
389
            return _.contains(["BUILD", "DISCONNECTING", "CONNECTING"], this.get("ext_status"))
389 390
          }
390 391
        ],
391 392
        'firewall_running': [

Also available in: Unified diff