Revision 81d48bff

b/ui/templates/standard.html
105 105
        
106 106
        existing = $('#'+server.id);
107 107
        
108
        if (existing.length>1){
108
        if (existing.length > 1){
109 109
            existing.remove();
110 110
            existing = [];
111 111
        }
......
113 113
        if (existing.length){ 
114 114
            // If the machine already exists in the DOM then simply update it
115 115
            if (existing.find(".status").text() != STATUS_MESSAGES[server.status]) {
116
                try {console.info(existing.find("a.name span.name").text() + ' from ' + existing.find(".status").text() + ' to ' + STATUS_MESSAGES[server.status]);} catch(err) {}
116
                try {
117
                    console.info(existing.find("a.name span.name").text() + ' from ' + existing.find(".status").text() + ' to ' + STATUS_MESSAGES[server.status]);
118
                } catch(err) {}
117 119
                existing.find(".status").text(STATUS_MESSAGES[server.status]);
118 120
            }
119 121
            existing.find("a.name span.name").text(server.name);

Also available in: Unified diff