Skip to content

Commit

Permalink
Fixed issue #11530: "Change the language" button appears on page load
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Aug 12, 2016
1 parent 8baf7b4 commit 1c63013
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -10,7 +10,7 @@
?>

<!-- views/survey/system/LanguageChanger -->
<div class="form-group form-horizontal">
<div class="form-group form-horizontal" >
<label id="langchanger-label" for="langchanger" class="col-sm-4 col-xs-4 control-label text-right">
<?php eT("Language:");?>
</label>
Expand All @@ -20,7 +20,9 @@
</div>
<div class='col-xs-0 col-sm-4'>
<!-- We don't have to add this button if in previewmode -->
<?php echo CHtml::htmlButton(gT("Change the language"),array('type'=>'submit','id'=>"changelangbtn",'value'=>'changelang','name'=>'changelang','class'=>'changelang jshide btn btn-default')); ?>
<?php
echo CHtml::htmlButton(gT("Change the language"),array('type'=>'submit','id'=>"changelangbtn",'value'=>'changelang','name'=>'changelang','style'=>'display:none;','class'=>'changelang jshide btn btn-default'));
?>
</div>
</div>
<!-- end of views/survey/system/LanguageChanger -->

0 comments on commit 1c63013

Please sign in to comment.