Skip to content

Commit

Permalink
Fixed issue #10744: Numeric slider : no difference between unanswered +
Browse files Browse the repository at this point in the history
no reset
  • Loading branch information
olleharstedt committed Mar 22, 2016
1 parent 380eb9f commit 0cc8069
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -132,6 +132,7 @@ class="text form-control <?php echo $kpclass;?>"
else if (slider_startvalue !== 'NULL') {
var displayValue = '' + slider_startvalue;
var displayValue = displayValue.replace(/\./,LSvar.sLEMradix);
$(id).bootstrapSlider('setValue', parseFloat(slider_startvalue));
$(id).attr('stringvalue', displayValue); // stringvalue is the value handed to EM, since Bootstrap slider can't handle ","
LEMrel<?php echo $qid; ?>();
$(id).triggerHandler("keyup");
Expand Down

0 comments on commit 0cc8069

Please sign in to comment.