Commit 275e0548 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Handle shutdown action errors from resize view

parent c75bbb1c
......@@ -255,7 +255,11 @@
this.vm.bind("change:status", this.handle_shutdown_complete);
var self = this;
this.vm.call("shutdown");
this.vm.call("shutdown", undefined, function() {
self.shutdown.removeClass("in-progress");
self.update_layout();
self.hide();
});
},
handle_shutdown_complete: function(vm) {
......
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