Revision f89d2d03
b/ui/templates/list.html | ||
---|---|---|
202 | 202 |
if (server.status == "DELETED") { |
203 | 203 |
vmTable.fnDeleteRow(current); |
204 | 204 |
// Reload the page to check if server list is empty |
205 |
location.reload(true); |
|
205 |
//location.reload(true);
|
|
206 | 206 |
} else { // when server is not be deleted, it should be updated |
207 | 207 |
if (['BUILD','ACTIVE','REBOOT'].indexOf(server.status) >= 0 && |
208 | 208 |
[STATUS_MESSAGES['STOPPED'], STATUS_MESSAGES['ERROR'], |
b/ui/templates/standard.html | ||
---|---|---|
229 | 229 |
if (server.status == 'DELETED') { |
230 | 230 |
existing.remove(); |
231 | 231 |
// Reload the page to check if server list is empty |
232 |
location.reload(true); |
|
232 |
//location.reload(true);
|
|
233 | 233 |
try { |
234 | 234 |
console.info(existing.find("a.name span.name").text() + ' removed'); |
235 | 235 |
} catch(err) {} |
Also available in: Unified diff