Re: Advanced Topic -> Use Cute Editor as a File Picker not support in firefox

  •  06-16-2007, 2:54 PM

    Re: Advanced Topic -> Use Cute Editor as a File Picker not support in firefox

    ltanate,
     
    Thanks for pointing out this issue. We've fixed it please use the following BLOCKED SCRIPT
     
    <Script Language="javascript">
        function callInsertImage() 
        { 
       var editor1 = document.getElementById('<%=Editor1.ClientID%>');
                editor1.FocusDocument(); 
                var editdoc = editor1.GetDocument(); 
                editor1.ExecCommand('new');
                editor1.ExecCommand('insertdocument');
                InputURL();
        }   
       
        function InputURL()
        {
      var editor1 = document.getElementById('<%=Editor1.ClientID%>');
            var editdoc = editor1.GetDocument(); 
            var links = editdoc.links;
            if(links.length>0) 
            { document.getElementById("docFld").value = links[links.length-1].href;
                editor1.ExecCommand('new');
                document.getElementById("docFld").focus();
            } 
            else
            {
       setTimeout(InputURL,500);
            } 
        }      
    </script>
     
     
    Keep me posted
     
     

    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 Complete Thread