Skip to content

Commit

Permalink
Fixed issue #11072: slider numerical input does not update expression
Browse files Browse the repository at this point in the history
manager

Dev: Run EM related code in slideStop event.
  • Loading branch information
olleharstedt committed Apr 29, 2016
1 parent deb65af commit 0dfb870
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -162,6 +162,10 @@ class="text form-control pull-left <?php echo $kpclass;?>"
value = $inputEl.val(); // We get the current value of the bootstrapSlider
displayValue = value.toString().replace('.',$separator); // We format it with the right separator
$inputEl.val(displayValue); // We parse it to the element
});

theSlider.on('slideStop', function() {
$inputEl.trigger('onkeyup');
LEMrel<?php echo $qid; ?>() // We call the EM
});

Expand Down

0 comments on commit 0dfb870

Please sign in to comment.