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

Single view, proper reset of pending vm actions

parent c7b2f023
......@@ -230,6 +230,9 @@
this.menu.find(".server-name").click(function(ev) {
ev.preventDefault();
var id = $(this).attr("id").replace("single-vm-at-", "");
if (self.current_vm != id) {
storage.vms.reset_pending_actions();
}
self.current_vm = id;
self.update_current_vm();
self.show_current();
......
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