BUG-14824 Function DynaformOnload not working in designer SOLVED

- Runs the loaded twice
- Delete call in class.xmlform.php
This commit is contained in:
Marco Antonio Nina
2014-05-12 10:06:32 -04:00
parent 00a1ddedb6
commit 11f124d824

View File

@@ -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();
}
"; ";
} }
} }