Skip to main content

Search and Top Navigation

#6257 closed bug (notabug)

Opened November 03, 2010 06:27AM UTC

Closed November 03, 2010 12:56PM UTC

Last modified October 11, 2012 09:15PM UTC

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

Attachments (0)
Change History (6)

Changed November 03, 2010 12:56PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

Changed November 06, 2010 11:39AM UTC by lotjuh comment:2

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?

Changed November 06, 2010 11:50AM UTC by lotjuh comment:3

Didn't realized 1.8.6 was out. Tried that version and the errors are gone.

Changed November 06, 2010 12:27PM UTC by scottgonzalez comment:4

Replying to [comment:2 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)" )

Changed November 06, 2010 02:52PM UTC by lotjuh comment:5

Ah thanks, that helps.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:6

milestone: TBD

Milestone TBD deleted