Skip to content

Commit

Permalink
Fixed issue #10817: Testing 2.50 default template on mobile devices
Browse files Browse the repository at this point in the history
Enable show/hide slider min/max.
  • Loading branch information
olleharstedt committed Mar 29, 2016
1 parent dff5ce0 commit eab5e4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/qanda_helper.php
Expand Up @@ -3146,6 +3146,7 @@ function do_multiplenumeric($ia)
'slider_reset' => $slider_reset,
'slider_custom_handle' => $slider_custom_handle,
'slider_user_no_action' => $slider_user_no_action,
'slider_showminmax' => $aQuestionAttributes['slider_showminmax'],
'sSeparator'=> $sSeparator,
'sUnformatedValue'=> $sUnformatedValue,
);
Expand Down
4 changes: 4 additions & 0 deletions application/views/survey/questions/multiplenumeric/item.php
Expand Up @@ -75,6 +75,10 @@ class="text form-control <?php echo $kpclass;?>"
data-slider-suffix='<?php echo $suffix; ?>'
data-separator='<?php echo $sSeparator;?>'
/>
<?php if($slider_showminmax): ?>
<span class='badge pull-left'><?php echo $slider_min; ?></span>
<span class='badge pull-right'><?php echo $slider_max; ?></span>
<?php endif; ?>
<?php endif;?>
<?php echo $sliderright;?>
</div> <!-- xs-12 -->
Expand Down

0 comments on commit eab5e4f

Please sign in to comment.