Hi,
I have a link that opens a dialog using the following code
{include file="common/popupbox.tpl" id="edit-kb-question-{$content_question->question_id}" act="edit" opener_ajax_class="cm-ajax-force" link_text=$content_question->question href="bfa_knowledgebase.edit.question&question_id={$content_question->question_id}&kb_content_id={$kb_content->kb_content_id}"}
Clicking on the link opens a dialog with a WYSIWYG editor, defined by the following:
QuestionAnswer{$question->answer}{include file="buttons/save_changes.tpl" but_name="dispatch[`$dispatch`]" cancel_action="close" save=true}
Which all works fine. Until I close the dialog and reopen it. When I click on the link and launch the dialog again and the WYSIWYG editor is duplicated. I have had a look at the js/tygh/core.js file and I can see that destory is called before the dialog is closed, but it still duplicates.
Anyone experience this or have any thoughts?
Thanks...