Commit 50479625 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix to wizard, for site ids that are not just an integer.

parent 967d054d
......@@ -547,9 +547,10 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS
"<option value='" + name + "'>" + name + "</option>";
});
var sitenum = 0;
for (var siteid in sites) {
html = html +
"<div id='site"+siteid+"cluster' class='form-horizontal experiment_option'>" +
"<div id='site"+sitenum+"cluster' class='form-horizontal experiment_option'>" +
" <div class='form-group'>" +
" <label class='col-sm-4 control-label' " +
" style='text-align: right;'>"+
......@@ -560,6 +561,7 @@ function (_, Constraints, sup, ppstart, JacksEditor, aboutaptString, aboutcloudS
" class='form-control'>" + options +
" </select>" +
"</div></div></div>";
sitenum++;
}
//console.info(html);
$("#nosite_selector").addClass("hidden");
......
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