mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
Merge pull request #2204 from urbanrotnik/ur-sci-4067-text-description-overwritten
Fix for step description overwriting [SCI-4067]
This commit is contained in:
commit
22962256cf
1 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@
|
|||
if ($('#steps .step').length > 0) {
|
||||
$("[data-action='new-step']:last").show();
|
||||
$(".expand-all-steps").show();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$("[data-action='new-step']").hide();
|
||||
$("[data-action='edit-step']").hide();
|
||||
|
@ -584,7 +584,7 @@
|
|||
|
||||
animateSpinner(null, true);
|
||||
DragNDropSteps.appendFilesToForm(ev).then(formData => {
|
||||
formData.append('step[description]', TinyMCE.getContent());
|
||||
formData.append('step[description]', $tinyMCEInput);
|
||||
$.ajax({
|
||||
url: $form.attr('action'),
|
||||
method: 'POST',
|
||||
|
|
Loading…
Reference in a new issue