##// END OF EJS Templates
adressed @jdfrederer's concern!
Tarun Gaba -
Show More
@@ -74,10 +74,15 define([
74 74 else if(value < min){
75 75 value = min;
76 76 }
77 this.model.set('value', value, {updated_view: this});
78 77 this.$slider.slider('option', 'value', value);
79 78 this.$readout.text(value);
80 this.touch();
79
80 if(this.model.get('value')!=value) {
81 alert(this.model.get('value'));
82 this.model.set('value', value, {updated_view: this});
83 alert("touched");
84 this.touch();
85 }
81 86
82 87 // Use the right CSS classes for vertical & horizontal sliders
83 88 if (orientation=='vertical') {
General Comments 0
You need to be logged in to leave comments. Login now