Bug Tracker

Modify

Ticket #3191 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.