mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-04 11:48:39 +00:00
Minor fixes and additions
This commit is contained in:
parent
05641c71f0
commit
2ab45b9636
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
let self = this;
|
||||
|
||||
if (typeof form.querySelector('input[type=file]') !== 'undefined') {
|
||||
if (!form.querySelector('input[type=file]')|| !document.querySelector('input[type=file][form=' + form.id + ']')) {
|
||||
try {
|
||||
// Inject media upload into form view
|
||||
this.app.uiManager.getFormManager().get(form.id).injectSubmit(function (e, requestId, requestGroup)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user