Revision 4b2ed497 ui/templates/machines_single.html

b/ui/templates/machines_single.html
625 625
        if (server.id == current_serverId()) {
626 626
            get_server_stats(server.id);
627 627
        }
628

  
629
        // if machine in destroy state keep it that way
630
        var server = get_machine(server.id);
631
        if (server.status == "DESTROY") {
632
            existing = $('#machinesview-single.single #' + server.id);
633
            if (existing.length) {
634
                existing.find(".column1 .state-label").text(TRANSITIONS['Destroying']);
635
                existing.find(".column1 .state").removeClass().addClass('state destroying-state');
636
                existing.find(".column1 .state .spinner").show();
637
            }
638
        }
628 639
    });
629 640

  
630 641
    // hide pane spinner

Also available in: Unified diff