From cffe635c5cec7c557d4cd41b8750b9bfabdaad41 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 12 Jun 2007 15:11:52 +0000 Subject: [PATCH] Bugfix for Bug: FeLaMiMail Compose link in FeLaMiMail SideBox Menu looses Functionality due to JavaScript Error when in Preferences: javascript Function openComposeWindow could not be found. BugFix: Using of egw_openWindowCentered with onclick. --- felamimail/inc/hook_sidebox_menu.inc.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/felamimail/inc/hook_sidebox_menu.inc.php b/felamimail/inc/hook_sidebox_menu.inc.php index 9969023f61..c616bf7154 100644 --- a/felamimail/inc/hook_sidebox_menu.inc.php +++ b/felamimail/inc/hook_sidebox_menu.inc.php @@ -30,8 +30,16 @@ 'menuaction' => 'felamimail.uicompose.compose' ); - $file = Array( - 'Compose' => "javascript:openComposeWindow('".$GLOBALS['egw']->link('/index.php',$linkData)."');", + $file = array( + array( + 'text' => ''.lang('compose'), + 'no_lang' => true, + ), + ); if($preferences->preferences['deleteOptions'] == 'move_to_trash')