From 6e6851d165ecccae9aa75d7b2496e2cebdb5f782 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 9 Jun 2022 16:00:38 +0200 Subject: [PATCH] fix upload with fine-uploader --- CHANGELOG | 1 + views/bootstrap/class.AddDocument.php | 2 +- views/bootstrap4/class.Bootstrap4.php | 16 +++++++++------- views/bootstrap4/styles/application.css | 9 --------- 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 2ecff270e..dd49c400c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,6 +13,7 @@ - do not use logger in notification service if it was not initialized - fix editing of custom date fields - fix listing files/folders with umlauts when using webdav +- fix upload with fine-uploader -------------------------------------------------------------------------------- Changes in version 5.1.25 diff --git a/views/bootstrap/class.AddDocument.php b/views/bootstrap/class.AddDocument.php index fb6fbdd86..bee74b937 100644 --- a/views/bootstrap/class.AddDocument.php +++ b/views/bootstrap/class.AddDocument.php @@ -41,7 +41,7 @@ class SeedDMS_View_AddDocument extends SeedDMS_Theme_Style { parent::jsTranslations(array('js_form_error', 'js_form_errors')); if($enablelargefileupload) { - $this->printFineUploaderJs('../op/op.UploadChunks.php', $partitionsize, $maxuploadsize, $enablemultiupload); + $this->printFineUploaderJs('../op/op.UploadChunks.php', $partitionsize, $maxuploadsize, $enablemultiupload, 'userfile', 'adddocform'); } ?> $(document).ready(function() { diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index 5953a72ea..de5965c4c 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -3423,11 +3423,13 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
-
-
+
+
- '.getMLText('browse').'… +
+ '.getMLText('choose_target_file').'… +
@@ -3441,22 +3443,22 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev) - +
- +
- - + +
diff --git a/views/bootstrap4/styles/application.css b/views/bootstrap4/styles/application.css index 2dde7e119..51ef35ded 100644 --- a/views/bootstrap4/styles/application.css +++ b/views/bootstrap4/styles/application.css @@ -425,15 +425,6 @@ ul.qq-upload-list li span { display: inline-block; } -.qq-upload-drop-area { - display: inline-block; - width: 200px; - height: 22px; - padding: 3px; - background-color: #fff; - border: 1px solid #cccccc; - border-radius: 4px; -} .qq-hide, .qq-uploader dialog { display: none; }