Commit fb1c7bf2 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Shutdown action styling update fixes in vm resize ovrelay

parent b2f49ca2
......@@ -302,7 +302,9 @@
handle_flavor_select: function(flv) {
if (flv.id == this.vm.get_flavor().id) {
this.submit.addClass("disabled");
this.shutdown.addClass("disabled");
if (!this.shutdown.hasClass("in-progress")) {
this.shutdown.addClass("disabled");
}
} else {
if (this.vm.can_resize()) {
this.submit.removeClass("disabled");
......@@ -344,7 +346,9 @@
if (this.selected_flavor) {
this.handle_flavor_select(this.selected_flavor);
} else {
this.shutdown.addClass("disabled");
if (!this.shutdown.hasClass("in-progress")) {
this.shutdown.addClass("disabled");
}
}
this.submit.addClass("disabled");
} else {
......
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