Opened 12 years ago
Closed 12 years ago
#10410 closed Bug (duplicate)
Toolbar stops functioning inside JqueryUI dialog
Reported by: | Daniel | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1.1 |
Keywords: | Cc: |
Description
When using a jquery ui dialog (http://jqueryui.com/dialog/#modal-form) after you open the dialog and click on a menu item the second time that it is clicked it doesn't work.
This seems to be limited to the Styles,Normal,Font,Size toolbar items, things like Bold,Italic, About etc seem to work still.
See attached for an reproducible sample, the form that isnt part of the dialog works correctly and the other form when the same menu item is selected again when it is still selected a javascript error is thrown.
That error is
TypeError: $.contentWindow is null file:///C:/Users/Daniel/Desktop/New%20folder/ckeditor/core/selection.js Line 1266
I have tested this against the latest nightly (05-May-2013 at 07:41 UTC) and against the latest stable (4.1.1) and the latest from github (ckeditor-dev) master 2f39835f702191bf51cf5b238088ea0198f40959
Attachments (1)
Change History (3)
Changed 12 years ago by
Attachment: | Example.zip added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
DUP of #10269.
This is jQuery bug. You can either use older version of jQuery and jQuery Ui or try using "$.widget( ..." workaround mentioned in that ticket and in http://bugs.jqueryui.com/ticket/9087 or http://bugs.jqueryui.com/ticket/4727.
Looking at it today the actual error I'm getting is
TypeError: $.contentWindow is null file:///C:/Users/Daniel/Desktop/Example/ckeditor/core/dom/element.js Line 1621