[pLog-svn] r3564 - plog/trunk/js/ui
mark at devel.lifetype.net
mark at devel.lifetype.net
Fri Jun 9 03:30:03 GMT 2006
Author: mark
Date: 2006-06-09 03:30:01 +0000 (Fri, 09 Jun 2006)
New Revision: 3564
Modified:
plog/trunk/js/ui/common.js
Log:
Fixed the bug http://bugs.lifetype.net/view.php?id=927
Modified: plog/trunk/js/ui/common.js
===================================================================
--- plog/trunk/js/ui/common.js 2006-06-08 21:02:44 UTC (rev 3563)
+++ plog/trunk/js/ui/common.js 2006-06-09 03:30:01 UTC (rev 3564)
@@ -326,8 +326,10 @@
// write the contents as a form with hidden fields
preview.document.open();
- preview.document.write( '<html><body><div style="display:none">' +
- '<form name="previewForm" method="post" action="admin.php">' +
+ preview.document.write( '<html>' +
+ '<meta http-equiv="content-type" content="text/html;charset=' + blogLocale + '" />' +
+ '<body><div style="display:none">' +
+ '<form name="previewForm" method="post" action="admin.php" accept-charset="' + blogLocale + '">' +
'<input type="hidden" name="op" value="previewPost">' );
// post text, slug and topic... if we put everything in textareas, we avoid the need to escape things
// also we should keep in mind whether we're using htmlarea or not, since then we should use a different method
More information about the pLog-svn
mailing list