mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 22:42:22 +08:00
Previous name stays and multiple tabs open when creating Office files one after another [SCI-9516] (#6577)
* Fixed multiple subsequent MSOffice files being created [SCI-9516] * Added clearing input when initialized [SCI-9516]
This commit is contained in:
parent
e6e7805c29
commit
0c605ab63a
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export default {
|
|||
$wopiModal.find('#element_id').val(object.id);
|
||||
$wopiModal.find('#element_type').val(object.attributes.type);
|
||||
$wopiModal.modal('show');
|
||||
$($wopiModal).find('#new-wopi-file-name').focus();
|
||||
$($wopiModal).find('#new-wopi-file-name').focus().val('');
|
||||
|
||||
// Clear filename input error on input change if appropriate
|
||||
$wopiModal.on('input', '#new-wopi-file-name', (e) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue