mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
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:
parent
2b22721813
commit
cffe635c5c
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user