mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
Fix hidden filters when preference is for filter
This commit is contained in:
parent
6dde257d66
commit
117ca80a70
@ -233,13 +233,6 @@ class importexport_export_ui {
|
||||
");
|
||||
}
|
||||
|
||||
// Disable / hide definition filter if not selected
|
||||
if($content['selection'] !== 'filter')
|
||||
{
|
||||
$this->js->set_onload("
|
||||
\$j('div.filters').hide();
|
||||
");
|
||||
}
|
||||
$preserv['old_definition'] = $content['definition'];
|
||||
|
||||
// If not set by plugin, pre-set selection to preference, or 'search'
|
||||
@ -254,6 +247,14 @@ class importexport_export_ui {
|
||||
{
|
||||
$content['selection'] = 'search';
|
||||
}
|
||||
|
||||
// Disable / hide definition filter if not selected
|
||||
if($content['selection'] != 'filter')
|
||||
{
|
||||
$this->js->set_onload("
|
||||
\$j('div.filters').hide();
|
||||
");
|
||||
}
|
||||
unset ($plugin_object);
|
||||
$apps = importexport_helper_functions::get_apps('export');
|
||||
//error_log(__METHOD__.__LINE__.array2string($apps));
|
||||
|
Loading…
Reference in New Issue
Block a user