View Full Version : [CLOSED-755] Ext.Slider setDisabled issues

19 Mar 2010, 2:34 PM
Ext version tested:

Ext 3.2-beta (downloaded from http://www.extjs.com/products/extjs/download.php?dl=extjs32b on March 19)

Adapter used:


css used:

only default ext-all.css

Browser versions tested against:

FF3 (firebug installed)

Operating System:



The Ext.slider.MultiSlider onDisable and onEnable methods call Ext.Element methods on a slider thumb. They should be calling these (addClass, removeClass, getXY, hide, show) on thumb.el.

Test Case:

See this URL : http://www.extjs.com/deploy/ext-3.2-beta/examples/slider/slider.html

Steps to reproduce the problem:

Go to the slider example.
Modify it so one of the sliders is available globally (I'll assign "slider" to the first slider).
In a console, run slider.disable(). See an unhandled error. Same goes for slider.enable().

The result that was expected:

Slider is disabled, enabled.

The result that occurs instead:

Unhandled error: thumb.removeClass is not a function

Possible fix:

Change thumb.removeClass, thumb.addClass, thumb.getXY, thumb.hide, thumb.show to thumb.el methods in Slider.js.

22 Mar 2010, 6:16 PM
This was already fixed in svn