Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2107 closed bug (fixed)

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

Reported by: jasonaward Owned by: paul
Priority: minor Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:


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:



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.

Change History (2)

comment:1 Changed 15 years ago by squidmark

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.

comment:2 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed

This should be fixed in 1.5b.

Note: See TracTickets for help on using tickets.