This is a migrated thread and some comments may be shown as answers.

Image browser upload not working in IE8 with editor inside modal dialog

2 Answers 38 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 14 Mar 2013, 01:44 PM
I have a kendo editor inside a modal jqueryui dialog. This editor uses the image browser. In IE8 the Upload button in the image browser doesn't work.

Perhaps it is an issue with z-index of the file upload element being lower than the z-index of the jqueryui dialog overlay.

Example code attached. Run it, click TEST, click the image browser button, click Upload. Nothing happens in IE8. This only occurs in real IE8, not IE8 emulated mode inside IE9 or 10.

I tried both the newest stable release and the newest beta of the editor - no difference.

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 18 Mar 2013, 12:56 PM
Hello Martin,

The problem seems to be caused by jQuery UI which prevents the default action:

this.document.bind("focusin.dialog", function (event) {
if (!that._allowInteraction(event)) {                              
    event.preventDefault();
when the input is clicked. I can suggest to try with the Kendo Window instead which seems to work as expected on my side. Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Gregg Faus
Top achievements
Rank 1
answered on 01 May 2013, 09:34 PM
I worked around a similar issue by removing the "focusin.dialog" binding whenever I open a modal dialog.

open: function(){
    setTimeout(function () { $(document).unbind("focusin.dialog");}, 1000);
}
Tags
Editor
Asked by
Martin
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Gregg Faus
Top achievements
Rank 1
Share this question
or