-
7 Nov 2011 8:54 AM #1
BUG: Slider.js throws TypeError exception
BUG: Slider.js throws TypeError exception
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2.0.0-pr1
Browser versions tested against:- Chrome
- ____
Description:- Slider.js line#458, function setThumbsDisabled() contains a bug. The current code reads "thumbs = me.thumbs", while should be "thumbs = me.getThumbs()", as everywhere else in code around. As result, thumbs is null and the next line "... = thumbs.length" throws TypeError exception
Steps to reproduce the problem:- Create a form containing single child item with xtype="togglefield"
- Try disabling the item in initialize()
- See TypeError exception thrown
The result that was expected:- Slider.js line #458, function setThumbsDisabled() : thimbs = me.getThumbs()
The result that occurs instead:- Slider.js line #458, function setThumbsDisabled() : thimbs = me.thumbs
Test Case:
Code:<<insert working code to reproduce the report >>
HELPFUL INFORMATION
Screenshot or Video:- attached
See this URL for live test case: http://
Debugging already done:- yes
Possible fix:- see above
Additional CSS used:- only default ext-all.css
Operating System:
- WinXP Pro
-
7 Nov 2011 9:09 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Thank you for the report.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-991
in
2.0.


Reply With Quote