forked from extern/egroupware
Set "toolbarDefault => true" attribute for some actions in mail, to be shown as default toolbar actions
This commit is contained in:
parent
484dd23320
commit
8b064bcfb4
@ -979,6 +979,7 @@ class mail_ui
|
|||||||
'group' => ++$group,
|
'group' => ++$group,
|
||||||
'onExecute' => 'javaScript:app.mail.mail_compose',
|
'onExecute' => 'javaScript:app.mail.mail_compose',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
|
'toolbarDefault' => true
|
||||||
),
|
),
|
||||||
'reply_all' => array(
|
'reply_all' => array(
|
||||||
'caption' => 'Reply All',
|
'caption' => 'Reply All',
|
||||||
@ -999,6 +1000,7 @@ class mail_ui
|
|||||||
'hint' => 'forward inline',
|
'hint' => 'forward inline',
|
||||||
'onExecute' => 'javaScript:app.mail.mail_compose',
|
'onExecute' => 'javaScript:app.mail.mail_compose',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
|
'toolbarDefault' => true
|
||||||
),
|
),
|
||||||
'forwardasattach' => array(
|
'forwardasattach' => array(
|
||||||
'caption' => 'forward',
|
'caption' => 'forward',
|
||||||
@ -1033,6 +1035,7 @@ class mail_ui
|
|||||||
'url' => 'menuaction=infolog.infolog_ui.import_mail',
|
'url' => 'menuaction=infolog.infolog_ui.import_mail',
|
||||||
'popup' => egw_link::get_registry('infolog', 'add_popup'),
|
'popup' => egw_link::get_registry('infolog', 'add_popup'),
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
|
'toolbarDefault' => true
|
||||||
),
|
),
|
||||||
'tracker' => array(
|
'tracker' => array(
|
||||||
'caption' => 'Tracker',
|
'caption' => 'Tracker',
|
||||||
@ -1213,6 +1216,7 @@ class mail_ui
|
|||||||
//'disableClass' => 'flagged',
|
//'disableClass' => 'flagged',
|
||||||
//'enabled' => "javaScript:mail_disabledByClass",
|
//'enabled' => "javaScript:mail_disabledByClass",
|
||||||
'shortcut' => egw_keymanager::shortcut(egw_keymanager::F, true, true),
|
'shortcut' => egw_keymanager::shortcut(egw_keymanager::F, true, true),
|
||||||
|
'toolbarDefault' => true
|
||||||
),
|
),
|
||||||
/*
|
/*
|
||||||
'unflagged' => array(
|
'unflagged' => array(
|
||||||
@ -1260,6 +1264,7 @@ class mail_ui
|
|||||||
'hint' => $deleteOptions[$this->mail_bo->mailPreferences['deleteOptions']],
|
'hint' => $deleteOptions[$this->mail_bo->mailPreferences['deleteOptions']],
|
||||||
'group' => ++$group,
|
'group' => ++$group,
|
||||||
'onExecute' => 'javaScript:app.mail.mail_delete',
|
'onExecute' => 'javaScript:app.mail.mail_delete',
|
||||||
|
'toolbarDefault' => true
|
||||||
),
|
),
|
||||||
/*
|
/*
|
||||||
'select_all' => array(
|
'select_all' => array(
|
||||||
|
Loading…
Reference in New Issue
Block a user