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.
This commit is contained in:
Klaus Leithoff 2007-06-12 15:11:52 +00:00
parent 2b22721813
commit cffe635c5c

View File

@ -30,8 +30,16 @@
'menuaction' => 'felamimail.uicompose.compose'
);
$file = Array(
'Compose' => "javascript:openComposeWindow('".$GLOBALS['egw']->link('/index.php',$linkData)."');",
$file = array(
array(
'text' => '<a class="textSidebox" href="'.htmlspecialchars($GLOBALS['egw']->link('/index.php',
array(
'menuaction' => 'felamimail.uicompose.compose',
)
)).'" target="_blank" onclick="egw_openWindowCentered(\''.$GLOBALS['egw']->link('/index.php',$linkData).'\',\''.lang('compose').'\',700,750); return false;">'.lang('compose'),
'no_lang' => true,
),
);
if($preferences->preferences['deleteOptions'] == 'move_to_trash')