Search and Top Navigation
#2987 closed bug (fixed)
Opened June 11, 2008 12:13PM UTC
Closed June 19, 2008 06:32PM UTC
Last modified June 26, 2008 07:09PM UTC
Bug on destroy
Reported by: | imagis | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | 1.5.1 |
Component: | ui.slider | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I just migrated from 1.2.3 to 1.2.6.
I noticed that when a slider is destroyed occurs an error on some new code:
this.handle
.unwrap("a") .mouse("destroy");
Here is a sample of the error from FireBug:
this.handle.unwrap("a").mouse is not a function destroy()ui.slider.js (line 49) (no name)()ui.core.js (line 105) e([div#LAYOUT-SLIDER1.ui-slider-2], function(), undefined)jquery-1.2.6.pack... (line 11) e(function(), undefined)jquery-1.2.6.pack... (line 11) (no name)("destroy")ui.core.js (line 102) createSlider("LAYOUT[]", "1")common.js (line 314) recreateRow("LAYOUT[]", "1")common.js (line 195) onchange(change )plugin (line 1) [Break on this error] .mouse("destroy");
Bug may appear if no handler is attached to slider. This could be a very common case if slider is used by example for selecting columns width for a layout. In such case it's possible to have only one column so no handler is to be added. So on destroy slider error would occur.
Attachments (0)
Change History (2)
Changed June 19, 2008 06:32PM UTC by comment:1
description: | \ \ I just migrated from 1.2.3 to 1.2.6. \ \ I noticed that when a slider is destroyed occurs an error on some new code: \ \ this.handle \ \ .unwrap("a") .mouse("destroy"); \ \ Here is a sample of the error from FireBug: \ \ this.handle.unwrap("a").mouse is not a function destroy()ui.slider.js (line 49) (no name)()ui.core.js (line 105) e([div#LAYOUT-SLIDER1.ui-slider-2], function(), undefined)jquery-1.2.6.pack... (line 11) e(function(), undefined)jquery-1.2.6.pack... (line 11) (no name)("destroy")ui.core.js (line 102) createSlider("LAYOUT[]", "1")common.js (line 314) recreateRow("LAYOUT[]", "1")common.js (line 195) onchange(change )plugin (line 1) [Break on this error] .mouse("destroy"); \ \ \ Bug may appear if no handler is attached to slider. This could be a very common case if slider is used by example for selecting columns width for a layout. In such case it's possible to have only one column so no handler is to be added. So on destroy slider error would occur. → \ I just migrated from 1.2.3 to 1.2.6. \ \ I noticed that when a slider is destroyed occurs an error on some new code: \ \ this.handle \ \ .unwrap("a") .mouse("destroy"); \ \ Here is a sample of the error from FireBug: \ \ this.handle.unwrap("a").mouse is not a function destroy()ui.slider.js (line 49) (no name)()ui.core.js (line 105) e([div#LAYOUT-SLIDER1.ui-slider-2], function(), undefined)jquery-1.2.6.pack... (line 11) e(function(), undefined)jquery-1.2.6.pack... (line 11) (no name)("destroy")ui.core.js (line 102) createSlider("LAYOUT[]", "1")common.js (line 314) recreateRow("LAYOUT[]", "1")common.js (line 195) onchange(change )plugin (line 1) [Break on this error] .mouse("destroy"); \ \ \ Bug may appear if no handler is attached to slider. This could be a very common case if slider is used by example for selecting columns width for a layout. In such case it's possible to have only one column so no handler is to be added. So on destroy slider error would occur. |
---|---|
resolution: | → fixed |
status: | new → closed |
Changed June 26, 2008 07:09PM UTC by comment:2
description: | \ I just migrated from 1.2.3 to 1.2.6. \ \ I noticed that when a slider is destroyed occurs an error on some new code: \ \ this.handle \ \ .unwrap("a") .mouse("destroy"); \ \ Here is a sample of the error from FireBug: \ \ this.handle.unwrap("a").mouse is not a function destroy()ui.slider.js (line 49) (no name)()ui.core.js (line 105) e([div#LAYOUT-SLIDER1.ui-slider-2], function(), undefined)jquery-1.2.6.pack... (line 11) e(function(), undefined)jquery-1.2.6.pack... (line 11) (no name)("destroy")ui.core.js (line 102) createSlider("LAYOUT[]", "1")common.js (line 314) recreateRow("LAYOUT[]", "1")common.js (line 195) onchange(change )plugin (line 1) [Break on this error] .mouse("destroy"); \ \ \ Bug may appear if no handler is attached to slider. This could be a very common case if slider is used by example for selecting columns width for a layout. In such case it's possible to have only one column so no handler is to be added. So on destroy slider error would occur. → I just migrated from 1.2.3 to 1.2.6. \ \ I noticed that when a slider is destroyed occurs an error on some new code: \ \ this.handle \ \ .unwrap("a") .mouse("destroy"); \ \ Here is a sample of the error from FireBug: \ \ this.handle.unwrap("a").mouse is not a function destroy()ui.slider.js (line 49) (no name)()ui.core.js (line 105) e([div#LAYOUT-SLIDER1.ui-slider-2], function(), undefined)jquery-1.2.6.pack... (line 11) e(function(), undefined)jquery-1.2.6.pack... (line 11) (no name)("destroy")ui.core.js (line 102) createSlider("LAYOUT[]", "1")common.js (line 314) recreateRow("LAYOUT[]", "1")common.js (line 195) onchange(change )plugin (line 1) [Break on this error] .mouse("destroy"); \ \ \ Bug may appear if no handler is attached to slider. This could be a very common case if slider is used by example for selecting columns width for a layout. In such case it's possible to have only one column so no handler is to be added. So on destroy slider error would occur. |
---|---|
milestone: | 1.5 → 1.5.1 |