Revision 25b225a5 ui/static/snf/js/models.js

b/ui/static/snf/js/models.js
310 310
            storage.vms.bind("add", _.bind(this.update_connections, this, "add"));
311 311
            storage.vms.bind("remove", _.bind(this.update_connections, this, "remove"));
312 312
            storage.vms.bind("reset", _.bind(this.update_connections, this, "reset"));
313

  
313 314
            this.bind("change:linked_to", _.bind(this.update_connections, this, "net:change"));
314 315
            this.update_connections();
315 316
            this.update_state();
317

  
316 318
            return ret;
317 319
        },
318 320

  
......
321 323
                this.set({state: "CONNECTING"});
322 324
                return
323 325
            }
326

  
324 327
            if (this.vms.pending_for_removal.length) {
325 328
                this.set({state: "DISCONNECTING"});
326 329
                return
......
459 462
        'NORMAL': 'Private network',
460 463
        'CONNECTING': 'Connecting...',
461 464
        'DISCONNECTING': 'Disconnecting...',
462
        'FIREWALLING': 'Firewall update...'
465
        'FIREWALLING': 'Firewall update...',
466
        'DESTROY': 'Destroying...'
463 467
    }
464 468

  
465 469
    models.Network.STATES_TRANSITIONS = {

Also available in: Unified diff