mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-13 15:08:33 +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'
|
'menuaction' => 'felamimail.uicompose.compose'
|
||||||
);
|
);
|
||||||
|
|
||||||
$file = Array(
|
$file = array(
|
||||||
'Compose' => "javascript:openComposeWindow('".$GLOBALS['egw']->link('/index.php',$linkData)."');",
|
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')
|
if($preferences->preferences['deleteOptions'] == 'move_to_trash')
|
||||||
|
Loading…
Reference in New Issue
Block a user