[SSE mobile] Bug with loading functions (when no description for function in json file).

This commit is contained in:
Julia Radzhabova 2017-05-25 12:48:42 +03:00
parent 589eb2675f
commit 72219ab52d

View file

@ -135,8 +135,8 @@ define([
type: _name,
group: groupname,
caption: func.asc_getLocaleName(),
args: jsonDesc[_name].a || '',
descr: jsonDesc[_name].d || ''
args: (jsonDesc && jsonDesc[_name]) ? jsonDesc[_name].a : '',
descr: (jsonDesc && jsonDesc[_name]) ? jsonDesc[_name].d : ''
};
}
}