Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1273)
+++ branches/2.8.x/CHANGELOG	(revision 1274)
@@ -11,6 +11,8 @@
 ! = Update/Change
  
 ------------------------------------- 2.8.1 -------------------------------------
+24-Jan-2010 Dietmar Woellbrink (Luisehahne)
+#	Ticket #921 fix issues in IE by using EditArea framework
 23-Jan-2010 Dietmar Woellbrink (Luisehahne)
 !	Ticket #921 Update EditArea framework
 !	fix stylings wb_them
Index: branches/2.8.x/wb/include/editarea/wb_wrapper_edit_area.php
===================================================================
--- branches/2.8.x/wb/include/editarea/wb_wrapper_edit_area.php	(revision 1273)
+++ branches/2.8.x/wb/include/editarea/wb_wrapper_edit_area.php	(revision 1274)
@@ -61,9 +61,17 @@
 }
 
 if (!function_exists('registerEditArea')) {
-	function registerEditArea($id = 'code_area', $syntax = 'php', $syntax_selection = true
-		, $allow_resize = 'both', $allow_toggle = true, $start_highlight = true
-		, $min_width = 600, $min_height = 300, $toolbar = 'default')
+	function registerEditArea(
+                $id = 'code_area',
+                $syntax = 'php',
+                $syntax_selection = true,
+                $allow_resize = 'both',
+                $allow_toggle = true,
+                $start_highlight = true,
+                $min_width = 600,
+                $min_height = 300,
+                $toolbar = 'default'
+            )
 	{
 
 		// set default toolbar if no user defined was specified
@@ -74,7 +82,8 @@
 
 		// check if used Website Baker backend language is supported by EditArea
 		$language = 'en';
-		if (defined('LANGUAGE') && file_exists(dirname(__FILE__) . '/langs/' . strtolower(LANGUAGE) . '.js')) {
+		if (defined('LANGUAGE') && file_exists(dirname(__FILE__) . '/langs/' . strtolower(LANGUAGE) . '.js'))
+        {
 			$language = strtolower(LANGUAGE);
 		}
 
@@ -84,20 +93,19 @@
 		// check if resize option is supported by edit_area
 		$allow_resize = in_array($allow_resize, array('no', 'both', 'x', 'y')) ? $allow_resize : 'no';
 
-        loader_help();
 		// return the Javascript code
 		$result = <<< EOT
 		<script type="text/javascript">
 			editAreaLoader.init({
-				id: 				'$id'
-				,start_highlight:	$start_highlight
-				,syntax:			'$syntax'
-				,min_width:			$min_width
-				,min_height:		$min_height
-				,allow_resize: 		'$allow_resize'
-				,allow_toggle: 		$allow_toggle
-				,toolbar: 			'$toolbar'
-				,language:			'$language'
+				id: 				'$id',
+				start_highlight:	$start_highlight,
+				syntax:			    '$syntax',
+				min_width:			$min_width,
+				min_height:		    $min_height,
+				allow_resize: 		'$allow_resize',
+				allow_toggle: 		$allow_toggle,
+				toolbar: 			'$toolbar',
+				language:			'$language'
 			});
 		</script>
 EOT;
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1273)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1274)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.1');
-if(!defined('REVISION')) define('REVISION', '1273');
+if(!defined('REVISION')) define('REVISION', '1274');
 
 ?>
\ No newline at end of file
Index: branches/2.8.x/wb/templates/classic_theme/templates/header.htt
===================================================================
--- branches/2.8.x/wb/templates/classic_theme/templates/header.htt	(revision 1273)
+++ branches/2.8.x/wb/templates/classic_theme/templates/header.htt	(revision 1274)
@@ -15,6 +15,7 @@
 var THEME_URL = '{THEME_URL}';
 var ADMIN_URL = '{ADMIN_URL}';
 </script>
+<script src="{WB_URL}/include/editarea/edit_area_full.js" type="text/javascript"></script>
 {BACKEND_MODULE_JS}
 <script language="javascript" type="text/javascript">
 function confirm_link(message, url) {
Index: branches/2.8.x/wb/templates/wb_theme/templates/header.htt
===================================================================
--- branches/2.8.x/wb/templates/wb_theme/templates/header.htt	(revision 1273)
+++ branches/2.8.x/wb/templates/wb_theme/templates/header.htt	(revision 1274)
@@ -14,6 +14,7 @@
 var THEME_URL = '{THEME_URL}';
 var ADMIN_URL = '{ADMIN_URL}';
 </script>
+<script src="{WB_URL}/include/editarea/edit_area_full.js" type="text/javascript"></script>
 {BACKEND_MODULE_JS}
 <script language="javascript" type="text/javascript">
 function confirm_link(message, url) {
Index: branches/2.8.x/wb/templates/argos_theme/templates/header.htt
===================================================================
--- branches/2.8.x/wb/templates/argos_theme/templates/header.htt	(revision 1273)
+++ branches/2.8.x/wb/templates/argos_theme/templates/header.htt	(revision 1274)
@@ -17,6 +17,7 @@
 var THEME_URL = '{THEME_URL}';
 var ADMIN_URL = '{ADMIN_URL}';
 </script>
+<script src="{WB_URL}/include/editarea/edit_area_full.js" type="text/javascript"></script>
 {BACKEND_MODULE_JS}
 <script language="javascript" type="text/javascript">
 function confirm_link(message, url) {
Index: branches/2.8.x/wb/modules/edit_module_files.php
===================================================================
--- branches/2.8.x/wb/modules/edit_module_files.php	(revision 1273)
+++ branches/2.8.x/wb/modules/edit_module_files.php	(revision 1274)
@@ -60,8 +60,7 @@
 	die;
 }
 
-// register the textarea to use edit_area
-echo (function_exists('registerEditArea')) ? registerEditArea('code_area', 'css', false) : '';
+echo (function_exists('registerEditArea')) ? registerEditArea('code_area', 'css', false) : 'none';
 
 // set default text output if varibles are not defined in the global WB language files
 $HEADING_CSS_FILE = (isset($GLOBALS['TEXT']['HEADING_CSS_FILE'])) ?$GLOBALS['TEXT']['HEADING_CSS_FILE'] :'Actual module file: ';
