Commit 760b97ee authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

VM create view fix

fixed a bug that caused previous/next buttons of vm create view
to disappear.
parent b1f48e0d
......@@ -407,8 +407,12 @@
},
show: function() {
views.CreateImageSelectView.__super__.show.apply(this, arguments);
// reset previous selection and state of the view
this.selected_image = false;
this.image_details.hide();
this.parent.$(".create-controls").show();
views.CreateImageSelectView.__super__.show.apply(this, arguments);
},
add_image: function(img) {
......
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