Bug Tracker

Opened 15 years ago

Closed 15 years ago

#3191 closed bug (invalid)

fail find in idrag.js (Interface 1.2 plugin) in ie

Reported by: Maxceem Owned by:
Priority: major Milestone: 1.2
Component: plugin Version: 1.2.6
Keywords: Interface, find, ie, idrag.js Cc:
Blocked by: Blocking:

Description

When I try use this demo http://interface.eyecon.ro/demos/scrollbar.html with the latest version of jQuery (1.2.6 actually 1.2.* too) I have an error in ie6 and ie7:

"Object dose not support this attribute or method"

I've discovered this and have found problem in idrag.js file (on in Interface 1.2 plugin) which have jQuery.find call on line 502:

var dhe = o.handle ? jQuery(this).find(o.handle) : jQuery(this);

And the error place is in jquery.js, function find(selector) which do this:

return this.pushStack( /[^+>] [^+>]/.test( selector ) || selector.indexOf("..") > -1 ?
			jQuery.unique( elems ) :
			elems );

so selector.indexOf("..") - is not a method of selector if selector is jQuery Object.

As I understand there should be done changes even in jquery.js and should be added checking wether selector is jQuery Object or no and do selector.get() - if it is possible, or such changes shuld be done in idrag.js.

Change History (1)

comment:1 Changed 15 years ago by flesler

Resolution: invalid
Status: newclosed

Interface is deprecated, its author doesn't work on it and it's not compatible with the latest versions of jQuery. As an alternative, you can try jQuery UI which contains many of the widgets Interface did.

Note: See TracTickets for help on using tickets.