document tooltip name "hint" for actions

This commit is contained in:
Ralf Becker 2014-12-04 09:19:03 +00:00
parent 46bcd3df8a
commit cf9326391c
2 changed files with 2 additions and 1 deletions

View File

@ -774,6 +774,7 @@ class etemplate_widget_nextmatch extends etemplate_widget
* - string 'confirm' confirmation message
* - string 'confirm_multiple' confirmation message for multiple selected, defaults to 'confirm'
* - boolean 'postSubmit' eg. downloads need a submit via POST request not our regular Ajax submit, only works with nm_action=submit!
* - string 'hint' tooltip on menu item
*
* @param array $actions id indexed array of actions / array with valus for keys: 'iconUrl', 'caption', 'onExecute', ...
* @param string $template_name ='' name of the template, used as default for app name of images

View File

@ -213,7 +213,7 @@ class filemanager_ui
{
$actions['mail']['children']['mail_'.$mode] = array(
'caption' => $data['label'],
'title' => $data['title'],
'hint' => $data['title'],
'onExecute' => 'javaScript:app.filemanager.mail',
);
}