issue 750 when import message, check sync option

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9780 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-28 01:29:29 +00:00
parent 1d574bf4fe
commit 24d07e193c

View file

@ -198,7 +198,7 @@ function doImport(formId) {
}
fo_import = get_by_id(formId);
if(fo_import.isSync.checked)
if(fo_import != null && fo_import.isSync.checked)
{
exec_xml(
'importer', // module