Skip to content

Commit

Permalink
Fixed #6738: Save button invisible in tabs other than import when cre…
Browse files Browse the repository at this point in the history
…ating a new survey
  • Loading branch information
mennodekker committed Oct 19, 2012
1 parent 6c5fc64 commit 9350085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/admin/surveysettings.js
Expand Up @@ -53,7 +53,7 @@ $(document).ready(function(){
$('#btnSave').click(saveParameter);
$('#addnewsurvey').submit(PostParameterGrid);
$( "#tabs" ).bind( "tabsselect", function(event, ui) {
if (ui.index!=5)
if (ui.index>4) // Hide on import and copy tab, otherwise show
{$('#btnSave').hide();}
else
{$('#btnSave').show();}
Expand Down

0 comments on commit 9350085

Please sign in to comment.