formDATA_set bug when "updateDisplay" parameter to true
Brought to you by:
bgarrigues,
gyom
Here is the correct code for this function :
function formDATA_set(p_strPath,p_strValue,
updateDisplay)
{
var l_xmlNode=xml_selectSingleNode
(gform_XMLDATA, p_strPath)
if(l_xmlNode)
{
if(! updateDisplay) xml_setValue
(l_xmlNode,p_strValue)
else formDATA_update(l_xmlNode,
p_strValue)
}
}
"p_xmlDataNode" has been replaced with "l_xmlNode".