From 0c5486c2d3524693dadc8108064154b6c9adfb54 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 18 Apr 2016 19:53:22 +0000 Subject: [PATCH] Avoid fatal error about missing js->set_onload() --- .../inc/class.importexport_wizard_basic_import_csv.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php index c273d5e68b..3e3f833bbb 100644 --- a/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php +++ b/importexport/inc/class.importexport_wizard_basic_import_csv.inc.php @@ -338,7 +338,7 @@ class importexport_wizard_basic_import_csv } $preserv = $content; $sel_options['field'] = array('--NONE--' => lang('none')) + $this->mapping_fields; - $GLOBALS['egw']->js->set_onload('$j("option[value=\'--NONE--\']:selected").closest("tr").animate({backgroundColor: "#ffff99"}, 1000);'); + unset ($preserv['button']); return $this->step_templates[$content['step']]; }