##// END OF EJS Templates
Add support to the float slider
Gordon Ball -
Show More
@@ -9,6 +9,10 b' define(['
9 9 var IntTextView = int_widgets.IntTextView;
10 10
11 11 var FloatSliderView = IntSliderView.extend({
12 _validate_text_input: function(x) {
13 return parseFloat(x);
14 },
15
12 16 _validate_slide_value: function(x) {
13 17 // Validate the value of the slider before sending it to the back-end
14 18 // and applying it to the other views on the page.
General Comments 0
You need to be logged in to leave comments. Login now