mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-10 13:59:56 +08:00
Fix for step description overwriting
[SCI-4067]
This commit is contained in:
parent
04c157d73b
commit
1d180f3688
1 changed files with 2 additions and 2 deletions
|
@ -584,7 +584,7 @@
|
||||||
|
|
||||||
animateSpinner(null, true);
|
animateSpinner(null, true);
|
||||||
DragNDropSteps.appendFilesToForm(ev).then(formData => {
|
DragNDropSteps.appendFilesToForm(ev).then(formData => {
|
||||||
formData.append('step[description]', TinyMCE.getContent());
|
formData.append('step[description]', $tinyMCEInput);
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: $form.attr('action'),
|
url: $form.attr('action'),
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
|
|
Loading…
Add table
Reference in a new issue