mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 23:35:00 +08:00
Merge pull request #6359 from rekonder/aj_SCI_9452
Fix opening protocol parser import modal [SCI-9452]
This commit is contained in:
commit
b73f88f91c
1 changed files with 4 additions and 0 deletions
|
@ -663,6 +663,10 @@ var ProtocolsIndex = (function() {
|
||||||
// Hack to hide "No file chosen" tooltip
|
// Hack to hide "No file chosen" tooltip
|
||||||
fileInput.attr('title', window.webkitURL ? ' ' : '');
|
fileInput.attr('title', window.webkitURL ? ' ' : '');
|
||||||
|
|
||||||
|
fileInput.on('click', (ev) => {
|
||||||
|
ev.target.value = null;
|
||||||
|
});
|
||||||
|
|
||||||
fileInput.on('change', function(ev) {
|
fileInput.on('change', function(ev) {
|
||||||
var importUrl = fileInput.attr('data-import-url');
|
var importUrl = fileInput.attr('data-import-url');
|
||||||
var teamId = fileInput.attr('data-team-id');
|
var teamId = fileInput.attr('data-team-id');
|
||||||
|
|
Loading…
Reference in a new issue