metadata: If any field focus on add field
This commit is contained in:
parent
4965d7878b
commit
4b0ca82652
|
@ -61,6 +61,8 @@ var loadPDF = async function(pdfBlob, filename, pdfIndex) {
|
|||
}
|
||||
if(document.querySelector('.input-metadata input')) {
|
||||
document.querySelector('.input-metadata input').focus();
|
||||
} else {
|
||||
document.getElementById('input_metadata_key').focus();
|
||||
}
|
||||
});
|
||||
}, function (reason) {
|
||||
|
|
Loading…
Reference in New Issue