mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-16 09:18:42 +00:00
Minor fixes and additions
This commit is contained in:
parent
05641c71f0
commit
2ab45b9636
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
let self = this;
|
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 {
|
try {
|
||||||
// Inject media upload into form view
|
// Inject media upload into form view
|
||||||
this.app.uiManager.getFormManager().get(form.id).injectSubmit(function (e, requestId, requestGroup)
|
this.app.uiManager.getFormManager().get(form.id).injectSubmit(function (e, requestId, requestGroup)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user