Commit edb60f89 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1715260: Keep tinymce fields on block config form error



behatnotneeded - will be covered by annotation_block.feature

Change-Id: Ibc5652e208ff4d65d2e845678db00ce245e91f63
Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
parent 17531234
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -134,6 +134,13 @@
                onModalCancel(e, configbutton);
            });
        }
        // Restart any TinyMCE fields if needed
        if (typeof tinyMCE !== 'undefined') {
            jQuery(form).find('textarea.wysiwyg').each(function() {
                tinyMCE.execCommand('mceAddEditor', false, $(this).prop('id'));
            });
        }

    }

    //Private Methods