Commit e3a48af6 authored by Markos Gogoulos's avatar Markos Gogoulos
Browse files

fix destroy server action behavior on the gui

Refs #213
parent 58b329c4
......@@ -548,7 +548,7 @@ function destroy(serverIDs) {
display_failure(serverID, jqXHR.status, 'Destroy')
},
success: function(data, textStatus, jqXHR) {
if ( jqXHR.status == '202') {
if ( jqXHR.status == '204') {
try {
console.info('destroyed ' + serverID);
} catch (err) {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment