mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
Fix warning message issue in step description [SCI-3479] (#1778)
* Fix warning message issue
This commit is contained in:
parent
df59c54bd4
commit
20b626d791
1 changed files with 6 additions and 4 deletions
|
@ -218,7 +218,7 @@
|
|||
});
|
||||
}
|
||||
|
||||
// Init ajax success/error for edit form
|
||||
// Init ajax success/error for edit form
|
||||
function formEditAjax($form) {
|
||||
$form
|
||||
.on("ajax:beforeSend", function () {
|
||||
|
@ -242,7 +242,7 @@
|
|||
$new_step.find(".panel-collapse:first").addClass("collapse in");
|
||||
|
||||
//Rerender tables
|
||||
$new_step.find("[data-role='step-hot-table']").each(function() {
|
||||
$new_step.find("[data-role='step-hot-table']").each(function() {
|
||||
renderTable($(this));
|
||||
});
|
||||
setupAssetsLoading();
|
||||
|
@ -257,7 +257,7 @@
|
|||
SmartAnnotation.preventPropagation('.atwho-user-popover');
|
||||
|
||||
//Rerender tables
|
||||
$form.find("[data-role='step-hot-table']").each(function() {
|
||||
$form.find("[data-role='step-hot-table']").each(function() {
|
||||
renderTable($(this));
|
||||
});
|
||||
});
|
||||
|
@ -596,6 +596,8 @@
|
|||
toggleButtons(true);
|
||||
SmartAnnotation.preventPropagation('.atwho-user-popover');
|
||||
|
||||
tinyMCE.editors.step_description_textarea.remove();
|
||||
|
||||
//Rerender tables
|
||||
$new_step.find("div.step-result-hot-table").each(function() {
|
||||
$(this).handsontable("render");
|
||||
|
|
Loading…
Reference in a new issue