FileManager problem - GoogleChrome, Safari, IE11

Last post 11-25-2013, 8:37 PM by Adam. 2 replies.
Sort Posts: Previous Next
  •  11-24-2013, 10:46 AM 78424

    FileManager problem - GoogleChrome, Safari, IE11

    Hi,

     

    I have most recent CE v 6.6 from October 2013 and there is a problem with File Manager.

    The same problem is on your demo page: http://cutesoft.net/asp/use-CuteEditor-as-file-manager.asp

     

    This example does not function in Google Chrome/Win7 or Safari/Mac.

     

    Problem occures in this line: feditor1.ExecCommand('insertdocument'); 

    On developer console: DOM Exception 3: A Node was inserted somewhere it doens't belong. 

     

    ---

    I guess, this causes a strange problem in IE11 - when i combine filemanager and editor window,  the editor window is not being loaded completly.

    When I triend to replace feditor1.ExecCommand('insertdocument');by feditor1.ExecCommand('ImageGalleryByBrowsing'); - the editor window was loaded correctly

    ---

    Thank you,

    George 

  •  11-25-2013, 4:14 AM 78426 in reply to 78424

    Re: FileManager problem - GoogleChrome, Safari, IE11

    Hi GeorgeS,

     

    Yes, I can reproduce this issue too. I will report to the development team, once issue is fix, I will keep you posted.

     

    Regards,

     

    Ken 

  •  11-25-2013, 8:37 PM 78431 in reply to 78424

    Re: FileManager problem - GoogleChrome, Safari, IE11

    GeorgeS:

    Hi,

     

    I have most recent CE v 6.6 from October 2013 and there is a problem with File Manager.

    The same problem is on your demo page: http://cutesoft.net/asp/use-CuteEditor-as-file-manager.asp

     

    This example does not function in Google Chrome/Win7 or Safari/Mac.

     

    Problem occures in this line: feditor1.ExecCommand('insertdocument'); 

    On developer console: DOM Exception 3: A Node was inserted somewhere it doens't belong. 

     

    ---

    I guess, this causes a strange problem in IE11 - when i combine filemanager and editor window,  the editor window is not being loaded completly.

    When I triend to replace feditor1.ExecCommand('insertdocument');by feditor1.ExecCommand('ImageGalleryByBrowsing'); - the editor window was loaded correctly

    ---

    Thank you,

    George 

     

    Please use the following code. 

    1. <script language="javascript">  
    2.                             function callInsertImage() {  
    3.                                 var editor1 = document.getElementById('<%=editor.ClientID%>');  
    4.                                 var editdoc = editor1.GetDocument();  
    5.                                 editdoc.body.innerHTML = "";  
    6.                                 editor1.ExecCommand('insertdocument');  
    7.                                 InputURL();  
    8.                                 document.getElementById("docFld").focus();  
    9.                             }  
    10.   
    11.                             function InputURL() {  
    12.                                 var editor1 = document.getElementById('<%=editor.ClientID%>');  
    13.                                 var editdoc = editor1.GetDocument();  
    14.                                 var links = editdoc.getElementsByTagName("a");  
    15.                                 if (links.length > 0 && links[links.length - 1].href != "") {  
    16.                                     document.getElementById("docFld").value = links[links.length - 1].href;  
    17.                                 }  
    18.                                 else {  
    19.                                     setTimeout(InputURL, 500);  
    20.                                 }  
    21.                             }  
    22.                         </script>  

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML