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

Lets hide the Parameter Sets tab unless the user has saved sets, at

least until we roll new geni-lib/ppwizard out to all users.
parent be7b878d
......@@ -573,6 +573,9 @@ $(function ()
}
var template = _.template(templates["paramsets-list"]);
// Temporary until new geni-lib/ppwizard rolled out
$('.paramsets-hidden').removeClass("hidden");
$('#paramsets_content')
.html(template({"paramsets" : json.value}));
......
......@@ -57,7 +57,7 @@
<li role="presentation">
<a href="#datasets" role="tab" data-toggle="tab">
Datasets</a></li>
<li role="presentation">
<li role="presentation" class="hidden paramsets-hidden">
<a href="#paramsets" role="tab" data-toggle="tab">
Parameter Sets</a></li>
<li role="presentation">
......@@ -157,7 +157,8 @@
<div id="classic_datasets_content_div"></div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="paramsets">
<div role="tabpanel" class="tab-pane hidden paramsets-hidden"
id="paramsets">
<div id="paramsets_content">
<div class="hidden" id="paramsets_noparamsets">
<br>
......
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