Commit 76107d6b authored by Leigh Stoller's avatar Leigh Stoller

Fix for fully bound rspecs.

parent 9df1b693
......@@ -652,10 +652,13 @@ function CheckStep2()
}
}
}
elseif (! (isset($formfields["where"]) &&
$formfields["where"] != "" &&
array_key_exists($formfields["where"], $am_array))) {
$errors["where"] = "Missing aggregate selection";
elseif (!isset($formfields["fully_bound"]) ||
$formfields["fully_bound"] == "0") {
if (!(isset($formfields["where"]) &&
$formfields["where"] != "" &&
array_key_exists($formfields["where"], $am_array))) {
$errors["where"] = "Missing aggregate selection";
}
}
#
......
......@@ -306,7 +306,7 @@ function SPITFORM($formfields, $newuser, $errors)
#TEMPORARILY HARD CODED. Used to separate federated sites
if ($ISCLOUD) {
echo "<script type='text/javascript'>\n";
echo " window.FEDERATEDLIST = ['IG UtahDDC', 'Emulab', 'APT Utah'];\n";
echo " window.FEDERATEDLIST = ['IG UtahDDC', 'Emulab', 'APT Utah', 'UGent WALL2'];\n";
echo "</script>\n";
}
......
......@@ -221,6 +221,10 @@
<input id='selected_profile'
type='hidden'
name='profile'>
<!-- JS code sets this if all the nodes are bound. -->
<input id='fully_bound'
type='hidden'
name='fully_bound' value="0">
<div id='finalize_container'
class='col-lg-8 col-md-8 col-sm-8 col-xs-12'>
<div class='panel panel-default'>
......
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