#6257 closed bug (notabug)
Uncaught cannot call methods on dialog prior to initialization; attempted to call method 'destroy'
Reported by: | shenkong | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.core | Version: | 1.8.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Uncaught cannot call methods on dialog prior to initialization; attempted to call method 'destroy' b.widget.bridge.b.fn/cms/script/jquery.ui.js:29 c.b.extend.each/cms/script/jquery.js:32 c.b.fn.b.each/cms/script/jquery.js:26 b.widget.bridge.b.fn/cms/script/jquery.ui.js:29 option.close/cms/itil/cms/clusterInfo.php?clusterGroupId=93017:27 b.Widget._trigger/cms/script/jquery.ui.js:32 c.widget.close/cms/script/jquery.ui.js:379 b.widget.bridge.b.fn/cms/script/jquery.ui.js:29 c.b.extend.each/cms/script/jquery.js:32 c.b.fn.b.each/cms/script/jquery.js:26 b.widget.bridge.b.fn/cms/script/jquery.ui.js:29 (anonymous function)/cms/itil/cms/clusterInfo.php?clusterGroupId=93017:63 c.extend.handleSuccess/cms/script/jquery.js:141 c.extend.ajax.M.w.onreadystatechange/cms/script/jquery.js:140
Change History (6)
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 follow-up: 4 Changed 12 years ago by
comment:3 Changed 12 years ago by
Didn't realized 1.8.6 was out. Tried that version and the errors are gone.
comment:4 Changed 12 years ago by
Replying to lotjuh:
Ok, when I updated my jquery ui from 1.8.4 to 1.8.5, all of a sudden I was getting these errors as well. This bug report might be set to invalid, but still something seems to have changed between these versions, and I haven no idea how I can check if my dialog is initialized or not. Can anyone give some more information about how to upgrade from 1.8.4 to 1.8.5 so you don't get these errors anymore?
$( this ).is( ":ui-dialog" ) or $( this ).is( ":data(dialog)" )
Ok, when I updated my jquery ui from 1.8.4 to 1.8.5, all of a sudden I was getting these errors as well. This bug report might be set to invalid, but still something seems to have changed between these versions, and I haven no idea how I can check if my dialog is initialized or not. Can anyone give some more information about how to upgrade from 1.8.4 to 1.8.5 so you don't get these errors anymore?