Avoid fatal error about missing js->set_onload()

This commit is contained in:
Nathan Gray 2016-04-18 19:53:22 +00:00
parent 3b864e4e54
commit 0c5486c2d3

View File

@ -338,7 +338,7 @@ class importexport_wizard_basic_import_csv
} }
$preserv = $content; $preserv = $content;
$sel_options['field'] = array('--NONE--' => lang('none')) + $this->mapping_fields; $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']); unset ($preserv['button']);
return $this->step_templates[$content['step']]; return $this->step_templates[$content['step']];
} }