Bugfix [ 1033561 ] HTMLArea 3 not working

This commit is contained in:
Len Kranendonk 2004-09-24 08:54:39 +00:00
parent 4e7d863b8f
commit cc6cfe22b0
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@
use that feature in some countries.
- Fixed a problem where hidden form tags were not escaping macros properly.
- Fixed an XHTML problem with hidden form tags.
- Bugfix [ 1033561 ] HTMLArea 3 not working (Len Kranendonk)
6.2.4

View file

@ -1,3 +1,5 @@
insert into webguiVersion values ('6.2.5','upgrade',unix_timestamp());
-- Fix HTMLArea 3 template bug / Len Kranendonk 20040924
update template set template='^JavaScript(\"<tmpl_var session.config.extrasURL>/textFix.js\");\r\n<tmpl_if htmlArea3.supported> \r\n\r\n^RawHeadTags(\r\n <script type=\'text/javascript\'> \r\n _editor_url = \'<tmpl_var session.config.extrasURL>/htmlArea3/\'; \r\n _editor_lang = \'en\'; \r\n </script>\r\n\r\n <script type=\'text/javascript\' src=\'<tmpl_var session.config.extrasURL>/htmlArea3/htmlarea.js\'> \r\n </script>\r\n\r\n <script language=\'JavaScript\'> \r\n HTMLArea.loadPlugin(\'TableOperations\'); \r\n </script>\r\n);\r\n\r\n<script language=\"JavaScript\"> \r\nfunction initEditor() { \r\n editor = new HTMLArea(\"<tmpl_var form.name>\"); \r\n editor.registerPlugin(TableOperations); \r\n\r\n setTimeout(function() { \r\n editor.generate(); \r\n }, 500); \r\n return false; \r\n} \r\nwindow.setTimeout(\"initEditor()\", 250); \r\n</script> \r\n\r\n</tmpl_if> \r\n\r\n<tmpl_var textarea> ' where templateId=6 and namespace='richEditor';