BUG-14824 Function DynaformOnload not working in designer SOLVED
- Runs the loaded twice - Delete call in class.xmlform.php
This commit is contained in:
@@ -5721,12 +5721,7 @@ class xmlformTemplate extends Smarty
|
|||||||
$form->jsDesignerPreview = "
|
$form->jsDesignerPreview = "
|
||||||
//JS designer>preview
|
//JS designer>preview
|
||||||
$js
|
$js
|
||||||
|
|
||||||
loadForm_" . $form->id . "(\"../gulliver/defaultAjaxDynaform\");
|
loadForm_" . $form->id . "(\"../gulliver/defaultAjaxDynaform\");
|
||||||
|
|
||||||
if (typeof(dynaformOnload) != \"undefined\") {
|
|
||||||
dynaformOnload();
|
|
||||||
}
|
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user