exclude filemanager application from itempicker list

This commit is contained in:
Christian Binder 2013-01-04 00:23:57 +00:00
parent c8a5fe221a
commit c175998ea3

View File

@ -1305,6 +1305,7 @@ function force_download(_action, _senders)
}
// mergeapp select options
$mergeapp_list = egw_link::app_list('merge');
unset($mergeapp_list[$GLOBALS['egw_info']['flags']['currentapp']]); // exclude filemanager from list
$mergeapp_empty = !empty($content['mergeapp_parent'])
? $mergeapp_list[$content['mergeapp_parent']] . ' (parent setting)' : '';
$sel_options['mergeapp'] = array('' => $mergeapp_empty);