mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-12 16:14:58 +08:00
Fix typeError on saving protocol as draft [SCI-11294]
This commit is contained in:
parent
13dd0e3704
commit
4e64683470
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ export default {
|
|||
$.post(this.protocol.attributes.urls.save_as_draft_url, (result) => {
|
||||
this.creatingDraft = false;
|
||||
window.location.replace(result.url);
|
||||
}).error(() => {
|
||||
}).fail(() => {
|
||||
this.creatingDraft = false;
|
||||
HelperModule.flashAlertMsg(this.i18n.t('errors.general'));
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue