[Rt-commit] rt branch, 4.4/dropzone-single-attachment, updated. rt-4.4.2-75-gc447ee710

Jim Brandt jbrandt at bestpractical.com
Wed Feb 21 16:41:59 EST 2018


The branch, 4.4/dropzone-single-attachment has been updated
       via  c447ee710d6b615fadb964fa6cef276c7c6d66d2 (commit)
      from  755d51787f13d70ec37535d119bd2f7661956358 (commit)

Summary of changes:
 share/html/Ticket/Elements/AddAttachments | 1 +
 1 file changed, 1 insertion(+)

- Log -----------------------------------------------------------------
commit c447ee710d6b615fadb964fa6cef276c7c6d66d2
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Wed Feb 21 16:40:09 2018 -0500

    Also set parallelUploads when the dropzone object is created
    
    Set parallelUploads when initializing dropzone in case the config
    in the underlying library isn't properly updated or the value is
    cached.

diff --git a/share/html/Ticket/Elements/AddAttachments b/share/html/Ticket/Elements/AddAttachments
index 992eaa08b..1f968aabf 100644
--- a/share/html/Ticket/Elements/AddAttachments
+++ b/share/html/Ticket/Elements/AddAttachments
@@ -72,6 +72,7 @@ jQuery( function() {
         paramName: "Attach",
         dictDefaultMessage: <% loc("Drop files here or click to attach") |n,j %>,
         maxFilesize: MaxAttachmentSizeMiB,
+        parallelUploads: 1,
         previewTemplate: '' +
             '<div class="dz-preview dz-file-preview">' +
             '    <div class="dz-remove-mark pointer-events" data-dz-remove>' +

-----------------------------------------------------------------------


More information about the rt-commit mailing list