Merge pull request #460 from ZmagoD/zd_SCI_962

fixes RTF bug for new text results [fixes SCI-962]
This commit is contained in:
Luka Murn 2017-01-26 17:00:06 +01:00 committed by GitHub
commit 83ac1d624c

View file

@ -10,10 +10,8 @@ $("#new-result-text").on("ajax:success", function(e, data) {
$form.remove();
toggleResultEditButtons(true);
});
TinyMCE.init();
toggleResultEditButtons(false);
TinyMCE.refresh();
$("#result_name").focus();
});