Commit 71c3e9b8 authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent f166d59a
......@@ -490,7 +490,8 @@ function SPITFORM($formfields, $newuser, $errors)
"<option $selected value='$am'>$am</option>\n";
}
$html =
"<div class='form-horizontal'><div class='form-group'>
"<div class='form-horizontal' id='aggregate_selector'>
<div class='form-group'>
<label class='col-sm-4 control-label'
style='text-align: right;'>Cluster:</label>
<div class='col-sm-6'>
......
......@@ -173,10 +173,10 @@ function (_, sup, ppstart, aboutaptString, aboutcloudString, waitwaitString)
// Hide the aggregate picker for a parameterized profile.
// Shown later.
if (ispprofile) {
$("#profile_where").addClass("hidden");
$("#aggregate_selector").addClass("hidden");
}
else {
$("#profile_where").removeClass("hidden");
$("#aggregate_selector").removeClass("hidden");
}
// Set the default aggregate.
......@@ -247,7 +247,7 @@ function (_, sup, ppstart, aboutaptString, aboutcloudString, waitwaitString)
.filter('[value="'+ where + '"]')
.prop('selected', true);
}
// Enable the create and copy buttons.
// Enable the create button.
$('#instantiate_submit').attr('disabled', false);
}
......
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