mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Fix Export as CSV context option to not bring back the popup if you change a nextmatch filter
This commit is contained in:
parent
ae69fbfe8e
commit
5fc63e4fd5
@ -605,6 +605,8 @@ class addressbook_ui extends addressbook_bo
|
||||
'csv' => array(
|
||||
'caption' => 'Export as CSV',
|
||||
'allowOnMultiple' => true,
|
||||
'url' => 'menuaction=importexport.importexport_export_ui.export_dialog&appname=addressbook&plugin=addressbook_export_contacts_csv&selection=$id',
|
||||
'popup' => '850x440'
|
||||
),
|
||||
'vcard' => 'Export as VCard',
|
||||
),
|
||||
@ -854,18 +856,6 @@ 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 ? '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