]> _ Git - cubist_cms-back.git/commitdiff
wip #5023 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 12 Jan 2022 19:12:04 +0000 (20:12 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 12 Jan 2022 19:12:04 +0000 (20:12 +0100)
src/resources/views/fields/dropzone_media.blade.php

index 4f7fcb9f0c1d9300e4dc184870b0db054b5239fc..d75ae9c5582a607cf5c4fedaa9807c0c752cb6a9 100644 (file)
@@ -206,7 +206,7 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                     });
 
                     var uniqid = function () {
-                        return (new Date().getTime() + Math.floor((Math.random() * 10000) + 1)).toString(16);
+                        return 'c' + (new Date().getTime() + Math.floor((Math.random() * 10000) + 1)).toString(16) + 'c';
                     };
 
                     Dropzone.autoDiscover = false;