BUG 7708 JavaScript executes twice when in preview mode of the DynaForm Editor
This problem was fixed. now the JavaScript only executes once when the DynaForm is first loaded.
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user