Skip to main content

Search and Top Navigation

#2107 closed bug (fixed)

Opened January 03, 2008 05:37AM UTC

Closed February 12, 2008 01:08PM UTC

Last modified February 26, 2009 11:22AM UTC

issue in ui.mouse.js when using slider (ie6)

Reported by: jasonaward Owned by: paul
Priority: minor Milestone: 1.5
Component: ui.core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:
Description

There seems to be a problem with ui.mouse.js in recent SVN versions when using slider within IE6. This problem does not occur in Firefox.

Here's the callstack for the problem:


ui.mouse.js


if(

e.which != 1 only left click starts dragging

|| $.inArray(e.target.nodeName.toLowerCase(), this.options.dragPrevention) != -1 Prevent execution on defined elements

|| (this.options.condition && !this.options.condition.apply(this.options.executor || this, [e])) //Prevent execution on condition

) return true;


jquery.js (array.length is null)


inArray: function( elem, array ) {

for ( var i = 0, length = array.length; i < length; i++ )

if ( array[ i ] == elem )

return i;

return -1;

},


This problem occurs with even the basic slider with no options.

If you need additional information or a sample case, please let me know.

Attachments (0)
Change History (4)

Changed February 01, 2008 06:58PM UTC by squidmark comment:1

I am experiencing this issue in Firefox 2, IE 6 and IE 7. I am using ui.mouse.js in conjunction with ui.sortable.js. In Firefox I get an error message that reads 'a has no properties,' and in IE the error message reads 'length is null or not an object.'

When I ran firebug's debugger ui.mouse.js errored out after evaluating line 99:

|| $.inArray(e.target.nodeName.toLowerCase(), this.options.dragPrevention) != -1

I am using the latest version (revision 4582) of ui.mouse.js. When I revert back to the version of ui.mouse.js that is currently available at ui.jquery.com the error does not occur.

Changed February 12, 2008 01:08PM UTC by paul comment:2

resolution: → fixed
status: newclosed

This should be fixed in 1.5b.

Changed May 24, 2008 03:39AM UTC by comment:3

milestone: 1.2.2

Milestone 1.2.2 deleted

Changed February 26, 2009 11:22AM UTC by paul comment:4

milestone: → 1.5