diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 7bb0aa3b0f..21cfeedeac 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -177,7 +177,7 @@ else { $GLOBALS['phpgw_info']['flags']['java_script'] .= -''."\n"; + ''."\n"; } $GLOBALS['phpgw_info']['flags']['java_script_thirst'] .= @@ -189,7 +189,7 @@ \n"; // set a base href to get relative image-pathes working - if ($base_href) + if ($base_href && $this->user_agent != 'msie') // HTMLarea does not work in IE with base href set !!! { $GLOBALS['phpgw_info']['flags']['java_script_thirst'] .= 'phpgwapi_js_url/htmlarea/'; \n"; } -// echo $GLOBALS['phpgw_info']['flags']['java_script']; -// die('test'); $id = str_replace(array('[',']'),array('_',''),$name); // no brakets in the id allowed by js $GLOBALS['phpgw']->js->set_onload("HTMLArea.replace('$id',htmlareaConfig);");