Revision a681ab44

b/snf-cyclades-app/synnefo/ui/static/snf/js/neutron.js
70 70
        ],
71 71
        'ext_status': [
72 72
          ['status'], function(st) {
73
            if (this.get('ext_status') == 'REMOVING') {
74
              return 'REMOVING'
75
            }
73 76
            if (this.pending_connections) {
74 77
              return 'CONNECTING'
75 78
            } else if (this.pending_disconnects) {
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_networks_view.js
458 458
        }, this);
459 459
      },
460 460
      
461
      remove: function(e) {
462
        e.stopPropagation();
461
      remove: function(model, e) {
462
        e && e.stopPropagation();
463 463
        this.model.actions.reset_pending();
464 464
        this.model.destroy({
465 465
          complete: _.bind(function() {
466 466
            this.model.set({status: 'REMOVING'})
467
            this.model.set({ext_status: 'REMOVING'})
467 468
          }, this),
468 469
          silent: true
469 470
        });

Also available in: Unified diff