[Svn] r2332 - in branches/devel-api/program: include js

trac at roundcube.net trac at roundcube.net
Fri Mar 6 19:12:16 CET 2009


Author: thomasb
Date: 2009-03-06 12:12:16 -0600 (Fri, 06 Mar 2009)
New Revision: 2332

Modified:
   branches/devel-api/program/include/rcube_html_page.php
   branches/devel-api/program/js/app.js
Log:
Applied patch by Chris Moules

Modified: branches/devel-api/program/include/rcube_html_page.php
===================================================================
--- branches/devel-api/program/include/rcube_html_page.php	2009-03-06 09:12:41 UTC (rev 2331)
+++ branches/devel-api/program/include/rcube_html_page.php	2009-03-06 18:12:16 UTC (rev 2332)
@@ -32,7 +32,7 @@
     protected $charset = 'UTF-8';
 
     protected $script_tag_file = "<script type=\"text/javascript\" src=\"%s\"></script>\n";
-    protected $script_tag      = "<script type=\"text/javascript\">\n<!--\n%s\n\n//-->\n</script>\n";
+    protected $script_tag  =  "<script type=\"text/javascript\">\n/* <![CDATA[ */\n%s\n/* ]]> */\n</script>";
     protected $default_template = "<html>\n<head><title></title></head>\n<body></body>\n</html>";
 
     protected $title = '';

Modified: branches/devel-api/program/js/app.js
===================================================================
--- branches/devel-api/program/js/app.js	2009-03-06 09:12:41 UTC (rev 2331)
+++ branches/devel-api/program/js/app.js	2009-03-06 18:12:16 UTC (rev 2332)
@@ -3760,7 +3760,7 @@
 
     $.ajax({ type: 'POST', url: url, data: htmlText, contentType: 'application/octet-stream',
       error: function(o) { rcmail.http_error(o); },
-      success: function(data) { rcmail.set_busy(false); $(document.getElementById(id)).val(data); console.log(data); },
+      success: function(data) { rcmail.set_busy(false); $(document.getElementById(id)).val(data); console.log(data); }
       });
     }
 

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list