#4224 closed bug (fixed)
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: |
Description
Summary: JQueryUI should detect if has previously been loaded on a page
What steps will reproduce the problem?
- Page includes script tag loading JQueryUI
- Page also loads JQueryUI using google.load function
- A call to .show() on an element gives a "too much recursion" error deep
inside JQueryUI
- 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
- 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.
- Developer raises http://code.google.com/p/google-ajax-apis/issues/detail?id=204 against the Google AJAX Google.load() function
- Google politely points out that this is a JQueryUI problem, not a Google problem.
- Developer recreates test case using plain script loading, and raises this bug
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | index.html added |
---|
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.7 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
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.
Note: See
TracTickets for help on using
tickets.
test case - run in IE to get nasty message box, or Firefox+Firebug to get console error