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