BUG 7281 Solved the problem of the javascript with error, Expected '}'
The problem was caused by single quote characters and double quotes created as the Dynaform labes that when evaluated by javascript errors caused.
This commit is contained in:
@@ -4201,7 +4201,7 @@ class XmlForm
|
|||||||
$this->requiredFields [] = array (
|
$this->requiredFields [] = array (
|
||||||
'name' => $field->name,
|
'name' => $field->name,
|
||||||
'type' => $xmlNode [$k]->attributes ['type'],
|
'type' => $xmlNode [$k]->attributes ['type'],
|
||||||
'label' => trim ( $field->label ),
|
'label' => addslashes(trim ( $field->label )),
|
||||||
'validate' => $validateValue,
|
'validate' => $validateValue,
|
||||||
'required' => $requiredValue
|
'required' => $requiredValue
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user