forked from extern/egroupware
Get 'Whole query' context menu checkbox working with Export -> CSV menu item
This commit is contained in:
parent
eac76facda
commit
d288fadaec
@ -597,8 +597,6 @@ class addressbook_ui extends addressbook_bo
|
||||
'children' => array(
|
||||
'csv' => array(
|
||||
'caption' => 'Export as CSV',
|
||||
'url' => 'menuaction=importexport.importexport_export_ui.export_dialog&appname=addressbook&selection=$id',
|
||||
'popup' => '850x440',
|
||||
'allowOnMultiple' => true,
|
||||
),
|
||||
'vcard' => 'Export as VCard',
|
||||
@ -849,6 +847,18 @@ class addressbook_ui extends addressbook_bo
|
||||
// does not return!
|
||||
$Ok = false;
|
||||
break;
|
||||
case 'csv':
|
||||
$action_msg = lang('exported');
|
||||
egw_framework::set_onload(
|
||||
"egw_openWindowCentered2('".egw::link('/index.php',array(
|
||||
'menuaction' => 'importexport.importexport_export_ui.export_dialog',
|
||||
'appname' => 'addressbook',
|
||||
'plugin' => 'addressbook_export_contacts_csv',
|
||||
'selection' => $use_all ? 'use_all' : implode(',',$checked)
|
||||
))."','_blank',850,440);");
|
||||
$success = count($checked);
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'infolog':
|
||||
egw::redirect_link('/index.php',array(
|
||||
|
Loading…
Reference in New Issue
Block a user