Update Uploader version to 2.1.2
This commit is contained in:
parent
7f7377a600
commit
6efa978dae
8
dist/js/Uploader.js
vendored
8
dist/js/Uploader.js
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* VDM Uikit Uploader v2.1.1
|
||||
* VDM Uikit Uploader v2.1.2
|
||||
* https://git.vdm.dev/joomla/uikit
|
||||
* (c) 2020 - 2024 Llewellyn van der Merwe
|
||||
* MIT License
|
||||
@ -437,11 +437,7 @@
|
||||
|
||||
this.#prepareUploadUI(elements, call, successId, errorId);
|
||||
|
||||
if (this.#uploadInstances.hasOwnProperty(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.#uploadInstances[id] = this.#uikit.upload(`#${id}`, {
|
||||
this.#uikit.upload(`#${id}`, {
|
||||
url: this.#buildUrl(uploadEndpoint, typeGuid),
|
||||
multiple: true,
|
||||
allow: this.#uploadHelper.get(call, 'allow', false),
|
||||
|
4
dist/js/Uploader.min.js
vendored
4
dist/js/Uploader.min.js
vendored
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
||||
"name": "vdm.uikit.uploader",
|
||||
"title": "Uploader",
|
||||
"description": "Uploader is an intuitive and lightweight JavaScript solution for embedding upload functionality into your website.",
|
||||
"version": "2.1.1",
|
||||
"version": "2.1.2",
|
||||
"main": "dist/js/Uploader.min.js",
|
||||
"scripts": {
|
||||
"build": "rollup -c"
|
||||
|
@ -110,11 +110,7 @@ export class UikitUploader {
|
||||
|
||||
this.#prepareUploadUI(elements, call, successId, errorId);
|
||||
|
||||
if (this.#uploadInstances.hasOwnProperty(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.#uploadInstances[id] = this.#uikit.upload(`#${id}`, {
|
||||
this.#uikit.upload(`#${id}`, {
|
||||
url: this.#buildUrl(uploadEndpoint, typeGuid),
|
||||
multiple: true,
|
||||
allow: this.#uploadHelper.get(call, 'allow', false),
|
||||
|
Loading…
Reference in New Issue
Block a user