]> _ Git - cubist_cms-back.git/commitdiff
wait #4851 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Nov 2021 15:50:21 +0000 (16:50 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Nov 2021 15:50:21 +0000 (16:50 +0100)
src/resources/views/fields/dropzone_media.blade.php

index 12ca8726ac5305b475f7f7f894fe6d4a26215308..4f7fcb9f0c1d9300e4dc184870b0db054b5239fc 100644 (file)
@@ -263,10 +263,6 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                                     this.emit('success', file, {success: true, media: file});
                                     this.emit('complete', file);
                                 }
-
-                                if (this.options.maxFiles !== null) {
-                                    this.options.maxFiles = this.options.maxFiles - files.length;
-                                }
                             },
                             sending: function (file, xhr, formData) {
                                 formData.append('_token', $('meta[name="csrf-token"]').attr('content'));