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

Editor Errors in FireFox v34 When Hidden

2 Answers 39 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Coty
Top achievements
Rank 1
Coty asked on 23 Feb 2015, 02:43 PM
I have a kendo editor on a page that is initially hidden.  My Page has a non-edit mode and an edit mode.  Text/html is displayed in a div element in non-edit mode, but when the user clicks edit, the form shows the kendo editor, which holds the same text/html.  Both elements' values are loaded at the same time via jquery/javascript.  Here is the editor on the page, notice the edit-form has display = none.
<div id="static-form">
                <div id="divDescription"></div>
</div>
             
<ul id="edit-form" style="display: none;">
                <li>
                    <textarea id="editor" style="height: 100px !important;"></textarea>
                </li>
</ul>


here is where the values are set via script:
$("#editor").data("kendoEditor").value(myItem.Description);  //Error occurs here, if I comment out this line there is no error.
$("#divDescription").html(myItem.Description);

This works in both the latest versions of IE and Chrome, but does NOT in Firefox.  It also works if I take out display: none, but that is not an options as it would ruin the functionality I need.  Anyone have any ideas of a work around or why Firefox isn't working? 



2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 25 Feb 2015, 12:29 PM
Hi Coty,

This problem was fixed on October 28, 2014. Please use a newer Kendo UI version.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Coty
Top achievements
Rank 1
answered on 26 Feb 2015, 07:14 PM
Updated Version works, thanks!
Tags
Editor
Asked by
Coty
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Coty
Top achievements
Rank 1
Share this question
or