mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-19 19:29:43 +08:00
Merge pull request #4342 from okriuchykhin/ok_SCI_7071
Fix WOPI editing after creation issue [SCI-7071]
This commit is contained in:
commit
32c53e223b
2 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,7 @@
|
|||
openWopiFileModal() {
|
||||
this.initWopiFileModal(this.step, (_e, data, status) => {
|
||||
if (status === 'success') {
|
||||
$(this.$refs.modal).modal('hide');
|
||||
this.$emit('attachmentUploaded', data);
|
||||
} else {
|
||||
HelperModule.flashAlertMsg(this.i18n.t('errors.general'), 'danger');
|
||||
|
|
|
@ -14,6 +14,8 @@ export default {
|
|||
(e, data, status) => {
|
||||
if (status === 'success') {
|
||||
$wopiModal.modal('hide');
|
||||
window.open(data.edit_url, '_blank');
|
||||
window.focus();
|
||||
} else {
|
||||
HelperModule.flashAlertMsg(this.i18n.t('errors.general'), 'danger');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue