mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Use nextmatch preferred definition as pre-selected export definition
This commit is contained in:
parent
7ee8739394
commit
483069d970
@ -71,6 +71,10 @@ class importexport_export_ui {
|
|||||||
$this->js->set_onload("set_style_by_class('tr','select_definition','display','none');");
|
$this->js->set_onload("set_style_by_class('tr','select_definition','display','none');");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check for preferred definition
|
||||||
|
if(!$_definition && $_appname) {
|
||||||
|
$_definition = $GLOBALS['egw_info']['user']['preferences'][$_appname]['nextmatch-export-definition'];
|
||||||
|
}
|
||||||
// fill definitions
|
// fill definitions
|
||||||
$sel_options['definition'] = array('' => lang('Select'));
|
$sel_options['definition'] = array('' => lang('Select'));
|
||||||
$definitions = new importexport_definitions_bo(array(
|
$definitions = new importexport_definitions_bo(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user