Menu

#5 init() called twice

open
nobody
None
5
2008-09-25
2008-09-25
Anonymous
No

When editing a select box, all options are duplicated because of the following code in the select.htm file

----------------------------------------------
<body id="jmform_select" onload="tinyMCEPopup.executeOnLoad('init();');" style="display: none">
----------------------------------------------

Since the init() function is called automatically, this needs to be removed. Doing so fixes the duplication problem. The code below is the correct code to use...

----------------------------------------------
<body id="jmform_select" style="display: none">
----------------------------------------------

Thanks,
Andrew Schools
andrew_schools@yahoo.com

Discussion


Log in to post a comment.

MongoDB Logo MongoDB