mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-07 20:40:26 +08:00
fixes RTE bug for new text results [fixes SCI-962]
This commit is contained in:
parent
3bf447b0f4
commit
cec5f1333d
1 changed files with 1 additions and 3 deletions
|
@ -10,10 +10,8 @@ $("#new-result-text").on("ajax:success", function(e, data) {
|
||||||
$form.remove();
|
$form.remove();
|
||||||
toggleResultEditButtons(true);
|
toggleResultEditButtons(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
TinyMCE.init();
|
|
||||||
toggleResultEditButtons(false);
|
toggleResultEditButtons(false);
|
||||||
|
TinyMCE.refresh();
|
||||||
$("#result_name").focus();
|
$("#result_name").focus();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue