Commit 624c7a07 authored by Keith Downie's avatar Keith Downie Committed by Leigh Stoller

Fixed bug where pp pane wouldnt show if you went from pp to non-pp then back to same pp

parent a2449cba
...@@ -68,6 +68,7 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS ...@@ -68,6 +68,7 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS
} }
else { else {
$('#stepsContainer-p-1 > div').attr('style','display:none'); $('#stepsContainer-p-1 > div').attr('style','display:none');
loaded_uuid = selected_uuid;
} }
} }
else if (currentIndex == 1 && newIndex == 2) { else if (currentIndex == 1 && newIndex == 2) {
...@@ -212,6 +213,8 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS ...@@ -212,6 +213,8 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS
$('button#showtopo_select').click(function (event) { $('button#showtopo_select').click(function (event) {
event.preventDefault(); event.preventDefault();
ChangeProfileSelection($('#quickvm_topomodal .selected')); ChangeProfileSelection($('#quickvm_topomodal .selected'));
selected_uuid = $('#quickvm_topomodal .selected').attr('value');
console.log(selected_uuid);
$('#quickvm_topomodal').modal('hide'); $('#quickvm_topomodal').modal('hide');
$('.steps .error').removeClass('error'); $('.steps .error').removeClass('error');
}); });
......
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