mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-09 06:35:37 +08:00
Read edit file url from data urls attribute [SCI-9900] (#6843)
This commit is contained in:
parent
0fae9ba1f0
commit
149f7092c6
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ export default {
|
|||
$wopiModal.modal('hide');
|
||||
$wopiModal.find('form').off('submit');
|
||||
$wopiModal.find('form').off('ajax:success');
|
||||
window.open(data.edit_url, '_blank');
|
||||
window.open(data.data.attributes.urls.edit_asset, '_blank');
|
||||
window.focus();
|
||||
} else {
|
||||
HelperModule.flashAlertMsg(this.i18n.t('errors.general'), 'danger');
|
||||
|
|
Loading…
Add table
Reference in a new issue