Author: sshyrkov Date: Thu Nov 15 12:34:33 2007 New Revision: 19159 URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19159&repname= =3Djahia Log: JAHIA-2568: Loosing your big text content if you rapidly click on Apply the= n OK while FCK is reloading itself =
http://www.jahia.net/jira/browse/JAHIA-2568 Resolution: show 'work in progress' on page load and hide it after the FCKe= ditor is loaded Modified: trunk/core/src/webapp/jsp/jahia/htmleditors/fckeditor/fckeditor_htmledi= tor.jsp trunk/core/src/webapp/jsp/jahia/javascript/workinprogress.js Modified: trunk/core/src/webapp/jsp/jahia/htmleditors/fckeditor/fckeditor_h= tmleditor.jsp URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/webapp= /jsp/jahia/htmleditors/fckeditor/fckeditor_htmleditor.jsp&rev=3D19159&repna= me=3Djahia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/core/src/webapp/jsp/jahia/htmleditors/fckeditor/fckeditor_htmledi= tor.jsp (original) +++ trunk/core/src/webapp/jsp/jahia/htmleditors/fckeditor/fckeditor_htmledi= tor.jsp Thu Nov 15 12:34:33 2007 @@ -136,12 +136,16 @@ } return input; } +jahia.config.startWorkInProgressOnLoad=3Dtrue; //--> </script> = <script type=3D"text/javascript"> function FCKeditor_OnComplete(editorInstance) { window.status =3D editorInstance.Description; + if (workInProgressOverlay) { + workInProgressOverlay.stop(); + } } </script> = Modified: trunk/core/src/webapp/jsp/jahia/javascript/workinprogress.js URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/webapp= /jsp/jahia/javascript/workinprogress.js&rev=3D19159&repname=3Djahia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/core/src/webapp/jsp/jahia/javascript/workinprogress.js (original) +++ trunk/core/src/webapp/jsp/jahia/javascript/workinprogress.js Thu Nov 15= 12:34:33 2007 @@ -13,6 +13,9 @@ oldSaveContent(); }; } + if (jahia.config.startWorkInProgressOnLoad) { + workInProgressOverlay.launch(); + } }); Event.observe(window, 'unload', Event.unloadCache); /* _______________________________________________ cvs_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list
