Update Uploader version to 2.1.2

This commit is contained in:
Llewellyn van der Merwe 2024-09-13 08:26:20 +02:00
parent 7f7377a600
commit 6efa978dae
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
4 changed files with 6 additions and 14 deletions

8
dist/js/Uploader.js vendored
View File

@ -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),

File diff suppressed because one or more lines are too long

View File

@ -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"

View File

@ -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),