﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14786	CK Editor 4.3 Instance Hang on IE	HinaSynergyIt		"== Steps to reproduce ==

I am using CK Editor 4.5.8 
I am using Knockout js binding in my code
We are using IE but it works on some machine but doesn't work on some machine

model dialog have 2 buttons Save and close

on model dialog initialization
{{{
<script type=""text/javascript"">
        $(document).ready(function() {
            ckInstance = CKEDITOR.replace(""txtAnmeldelse"", {
                toolbar: 'Basic',
                uiColor: '#9AB8F3',
                resize_enabled: false
            });
            

        });
        ko.applyBindings(new WorkViewModel(), 
    </script>
}}}


on close: call self.closeAndRefresh

{{{
 self.closeAndRefresh = function () {
        var instance = CKEDITOR.instances.txtAnmeldelse
        var editor;
        if (instance) {
            // first distroy and create new
            instance.destroy(true);
        }
        window.close();

    };
}}}

On page Edit mode  call function : self.getWorkText
{{{
self.getWorkText  = function() {
var instance = CKEDITOR.instances.txtAnmeldelse;
            var editor;
            if (instance) {
                // first distroy and create new
                instance.destroy(true);

            }
            ckInstance = CKEDITOR.replace(""txtAnmeldelse"", {
                toolbar: 'Basic',
                uiColor: '#9AB8F3',
                resize_enabled: false
            });

            ckInstance.on('instanceReady', function (e) {
                editor = e.editor;
                window.setTimeout(function () {
// solution for permsion denied issue Permission denied     
//when calling setData very fast https://dev.ckeditor.com/ticket/10501 

                    e.editor.setData(self.WorkText().Anmeldelse, {
                        callback: function () {
                            this.checkDirty(); // true - to clear previous intance 
                        }
                    });
                }, 50);
               
            });

}
}}}

== Expected result ==

First time it load correctly but when i close pop-up window and reopen it i hangs. 

ck Editor and give error permission denied on get_attribute function and make IE and CK editor responsiveness

== Actual result ==

CKEditor should be open and bind correctly and should be destroy correctly

== Other details (browser, OS, CKEditor version, installed plugins) ==

IE 11.0
Update 11.0.33
CKEditor 4.5.8



"	Bug	closed	Normal		General		expired		hina.bashir@…
