Merge pull request #459 from okriuchykhin/ok_SCI_943

Fix RTF toolbar init after eding new step [SCI-943]
This commit is contained in:
Luka Murn 2017-01-26 17:25:41 +01:00 committed by GitHub
commit 36f25e98f1

View file

@ -107,7 +107,7 @@ function applyEditCallBack() {
animateSpinner(null, false);
initPreviewModal();
TinyMCE.init();
TinyMCE.refresh()
$("#new-step-checklists fieldset.nested_step_checklists ul").each(function () {
enableCheckboxSorting(this);
});
@ -254,9 +254,6 @@ function formNewAjax($form) {
initHandsOnTable($new_step);
expandStep($new_step);
toggleButtons(true);
TinyMCE.init();
TinyMCE.highlight();
SmartAnnotation.preventPropagation('.atwho-user-popover');
//Rerender tables