Fix RTF toolbar init after eding new step [SCI-943]

This commit is contained in:
Oleksii Kriuchykhin 2017-01-26 16:37:44 +01:00
parent 042a85af45
commit 100cc700c6

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