diff --git a/workflow/engine/js/dynaformEditor/core/dynaformEditor.js b/workflow/engine/js/dynaformEditor/core/dynaformEditor.js index dc5282bd5..c2296dafa 100755 --- a/workflow/engine/js/dynaformEditor/core/dynaformEditor.js +++ b/workflow/engine/js/dynaformEditor/core/dynaformEditor.js @@ -25,7 +25,10 @@ var dynaformEditor={ mainPanel.elements.headerBar.appendChild(this.toolbar); mainPanel.events.remove = function(){ } - this.refresh_preview(); +// note added by krlos pacha carlos[at]colosa[dot]com +// the following line of code has been commented because it was executing twice the JavaScript code +// when the DynaForm was first loaded. +// this.refresh_preview(); this.changeToJavascripts(); this.changeToPreview(); },