From: Vincent Vanwaelscappel Date: Wed, 12 Jan 2022 19:12:04 +0000 (+0100) Subject: wip #5023 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a9d60f3c48fd4570e587e59213337f970d54dac5;p=cubist_cms-back.git wip #5023 @0.25 --- diff --git a/src/resources/views/fields/dropzone_media.blade.php b/src/resources/views/fields/dropzone_media.blade.php index 4f7fcb9..d75ae9c 100644 --- a/src/resources/views/fields/dropzone_media.blade.php +++ b/src/resources/views/fields/dropzone_media.blade.php @@ -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;