Skip to main content

Search and Top Navigation

#4224 closed bug (fixed)

Opened February 25, 2009 02:55AM UTC

Closed February 25, 2009 05:30AM UTC

Last modified May 16, 2010 03:25PM UTC

Misleading error message when JQueryUI loaded twice on page

Reported by: nlothian Owned by:
Priority: minor Milestone: 1.7
Component: ui.core Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:

Summary: JQueryUI should detect if has previously been loaded on a page

What steps will reproduce the problem?

1. Page includes script tag loading JQueryUI

2. Page also loads JQueryUI using google.load function

3. A call to .show() on an element gives a "too much recursion" error deep

inside JQueryUI

4. Developer doesn't realize there are two copies being loaded, and -

trying to do the right thing - starts to try an isolate a test case for

what appeared to be a JQueryUI bug

5. Developer suddenly realizes it is a problem with the library being

loaded twice - and - having spent some hours initially tracking down the

problem - decides to raise it on the google AJAX bug tracking systemin the hope that google.load(..) could

handle this case better.

6. Developer raises against the Google AJAX Google.load() function

7. Google politely points out that this is a JQueryUI problem, not a Google problem.

8. Developer recreates test case using plain script loading, and raises this bug

Attachments (1)
  • index.html (1.5 KB) - added by nlothian February 25, 2009 02:56AM UTC.

    test case - run in IE to get nasty message box, or Firefox+Firebug to get console error

Change History (1)

Changed February 25, 2009 05:30AM UTC by scottgonzalez comment:1

milestone: TBD1.7
resolution: → fixed
status: newclosed

This should be fixed for 1.7 from a previous change. As a side note, using jQuery 1.3 with jQuery UI 1.5 won't work.