diff --git a/src/addons/sliders/js/intervalslider/intervalslider.js b/src/addons/sliders/js/intervalslider/intervalslider.js index ef6c980ae2..9b781ffa0d 100644 --- a/src/addons/sliders/js/intervalslider/intervalslider.js +++ b/src/addons/sliders/js/intervalslider/intervalslider.js @@ -6,7 +6,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, { EDITOR_WIDTH: 58, EDITOR_R_GAP: 60, EDITOR_HEIGHT: 30, - HEIGHT: 28, SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH: 30, SLIDER_HEIGHT: 30, @@ -51,7 +50,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, { cls: "slider-editor-button", errorText: "", allowBlank: false, - height: c.HEIGHT, width: c.EDITOR_WIDTH, validationChecker: function (v) { return self._checkValidation(v); @@ -78,7 +76,6 @@ BI.IntervalSlider = BI.inherit(BI.Widget, { cls: "slider-editor-button", errorText: "", allowBlank: false, - height: c.HEIGHT, width: c.EDITOR_WIDTH, validationChecker: function (v) { return self._checkValidation(v); @@ -122,6 +119,10 @@ BI.IntervalSlider = BI.inherit(BI.Widget, { var significantPercent = BI.parseFloat(percent.toFixed(1)); self._setSliderOnePosition(significantPercent); self.fireEvent(BI.IntervalSlider.EVENT_CHANGE); + ui.helper.removeClass("dragging"); + }, + start: function (e, ui) { + ui.helper.removeClass("dragging").addClass("dragging"); } }); diff --git a/src/addons/sliders/js/singleslider/singleslider.js b/src/addons/sliders/js/singleslider/singleslider.js index e742d4ff92..b27992469a 100644 --- a/src/addons/sliders/js/singleslider/singleslider.js +++ b/src/addons/sliders/js/singleslider/singleslider.js @@ -5,7 +5,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, { _constant: { EDITOR_WIDTH: 90, EDITOR_HEIGHT: 30, - HEIGHT: 28, SLIDER_WIDTH_HALF: 15, SLIDER_WIDTH: 30, SLIDER_HEIGHT: 30, @@ -98,7 +97,6 @@ BI.SingleSlider = BI.inherit(BI.Widget, { type: "bi.sign_editor", cls: "slider-editor-button", errorText: "", - height: c.HEIGHT, width: c.EDITOR_WIDTH - 2, allowBlank: false, validationChecker: function (v) {