Hi,
I am using the following code to create a dialog box:
{include file="common/popupbox.tpl" id="edit-kb-question-{$product_question->question_id}" act="edit" link_text=$product_question->question href="bfa_knowledgebase.edit.question&question_id={$product_question->question_id}"}
Which works fine. The content of my popup, contains the following WYSIWYG textarea:
{$question->answer}
Which again, works fine.
However if close the dialog and reopen it, it regenerates the wysiwyg field and I end up with 2 redactor inputs on my dialog. Close it again and reopen it and I have 3 redactor inputs. Etc. Etc.
Any ideas on how to stop this from happening?
Thanks..