﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9376	Custom Iframe Plugin not working unless a system plugin is triggered first	yveszx	Garry Yao	"I was able to replicate this with 3 different custom plugins with on chrome and IE9.
If i don't click on image plugin or table plugin, when i try to trigger my custom plugin it will freeze after the overlay is loaded.
nothing in the console

my plugins are very simple
simple iframe plugin, ...


{{{

(function () {
    CKEDITOR.plugins.add('InsertGlossary',
    {
        requires: ['iframedialog'],
        init: function (editor) {
            var me = this;

            CKEDITOR.dialog.add('InsertGlossaryDialog', function (targetEditor) {
                return {
                    title: 'InsertGlossary Dialog',
                    minWidth: 595,
                    minHeight: 500,
                    contents:
                       [
                       {
                           id: 'iframeGloss',
                           label: 'InsertGlossary',
                           expand: true,
                           elements:
                        [
                            {
                                type: 'html',
                                id: 'Glossary',
                                label: 'Glossary',
                                style: 'width : 100%;',
                                html: '<iframe src=""' + me.path + 'dialogs/GlossaryIFRAME.aspx"" frameborder=""0"" name=""MyGlossary_' + targetEditor.name + '"" id=""MyGlossary"" allowtransparency=""1"" style=""width:100%;height:490px;margin:0;padding:0;""></iframe>'
                            }
                        ]
                       }
                       ],
                    onOk: function () {
                         
                        final_html = '<a class=""glossary""  href=""glossary.aspx?search=' + encodeURIComponent(content) + '"" target=""_blank"">' + content + '&nbsp;<img border=""0"" src=""/images/controls/info.png"" width=""20"" /></a>';
                        editor.focus();
                        editor.insertHtml(final_html);
                    }
                };


            });

            editor.addCommand('InsertGlossary', new CKEDITOR.dialogCommand('InsertGlossaryDialog'));

            editor.ui.addButton('InsertGlossary',
            {
                label: 'InsertGlossary',
                command: 'InsertGlossary',
                icon: this.path + 'images/icon.gif'
            });
        }
    });
})();


}}}
"	Bug	closed	Normal	CKEditor 4.0	UI : Dialogs	4.0	fixed		
