Opened 14 years ago
Closed 14 years ago
#3973 closed bug (worksforme)
Dialog plugin doesn't work when jQuery UI 1.6 and 1.5 are loaded on the same page.
Reported by: | metayii | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.7 |
Component: | ui.dialog | Version: | 1.6rc5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery UI 1.5 and 1.6rc5 were loaded by the same page, Dialog stopped working. Details:
With this HTML markup:
<div title="Dialogo hola" id="dialogo">Hola </div>
And this js code (it doesn't matter where do I place it, it throws the same error):
$('#dialogo').dialog();
I get:
$[namespace][name] is not a constructor jquery-ui-personalized-1.6rc5.js Line 272
Line 272 is:
$.data(this, name, new $[namespace][name](this, options)));
The solution was not to include both versions. It would be nice to have an automatic check.
Attachments (1)
Change History (2)
Changed 14 years ago by
Attachment: | ui-versions.html added |
---|
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.6 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Works for me, see attached file.
Note: See
TracTickets for help on using
tickets.
demo showing 1.5 and 1.6 working together