mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02:00
Update selection tab if definition is changed.
This commit is contained in:
parent
b2d8804275
commit
768859718f
@ -164,7 +164,8 @@ class importexport_export_ui {
|
|||||||
if($definition && $definition->plugin_options['selection']) {
|
if($definition && $definition->plugin_options['selection']) {
|
||||||
$_selection = $definition->plugin_options['selection'];
|
$_selection = $definition->plugin_options['selection'];
|
||||||
}
|
}
|
||||||
if ($_selection) {
|
|
||||||
|
if ($_selection && $content['old_definition'] == $content['definition']) {
|
||||||
$readonlys[$tabs]['selection_tab'] = true;
|
$readonlys[$tabs]['selection_tab'] = true;
|
||||||
$content['selection'] = $_selection;
|
$content['selection'] = $_selection;
|
||||||
$preserv['selection'] = $_selection;
|
$preserv['selection'] = $_selection;
|
||||||
@ -193,6 +194,7 @@ class importexport_export_ui {
|
|||||||
disable_button('exec[export]');
|
disable_button('exec[export]');
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
$preserv['old_definition'] = $content['definition'];
|
||||||
if (($prefs = $GLOBALS['egw_info']['user']['preferences']['importexport'][$definition->definition_id]) &&
|
if (($prefs = $GLOBALS['egw_info']['user']['preferences']['importexport'][$definition->definition_id]) &&
|
||||||
($prefs = unserialize($prefs)) && !$content['selection']['plugin_override'])
|
($prefs = unserialize($prefs)) && !$content['selection']['plugin_override'])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user