Cute Editor doesn't save changes in Chrome(from time to time)

Last post 08-20-2010, 9:48 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  08-19-2010, 2:39 AM 63514

    Cute Editor doesn't save changes in Chrome(from time to time)

    Hello, 
    I've noticed that Cute Editor doesn't save changes when I open document ,  
      do some changes and straightaway push button 'save' which do saving CuteEditor.XHTML to db on server side.
    I also noticed that this happens only when I do it without changing focus(e.g when I switch to preview mode and then push save button - it works correctly). 
    In IE everything works correctly.
    Does anybody know what is going on ? Actually I'm new in CuteEditor... may be I don't know something ... 
     
  •  08-20-2010, 9:48 AM 63541 in reply to 63514

    Re: Cute Editor doesn't save changes in Chrome(from time to time)

    Please save the following code to 1.asp, I tested it, when you click "save", it will save all changes to 4.htm.  Can you test it on your end?
    <!-- #include file = "cuteeditor_files/include_CuteEditor.asp" -->
    <html> 
        <head>
      
     </head>
        <body>
      
      <form name="theForm"  action="1.asp?postback=true" method="post">
      <%
       dim content
       content = "Type here"    
        
       Dim editor
       Set editor = New CuteEditor
       editor.ID = "Editor1"   
       ' Request.Form(ID) access from other page
       
       If request.QueryString("postback") <> "true" then     
           editor.LoadHTML("Templates/4.htm") 
        editor.Draw()
       else      
        editor.SaveFile("Templates/4.htm")
        editor.LoadHTML("Templates/4.htm") 
        editor.Draw()
       End if
       %>
          
      </form>
     </body>
    </html>
     
    Regards,
    Eric
View as RSS news feed in XML