]> _ Git - cubist_cms-back.git/commitdiff
fix #3607 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 20 Apr 2020 18:36:33 +0000 (20:36 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 20 Apr 2020 18:36:33 +0000 (20:36 +0200)
src/resources/views/fields/dropzone_media.blade.php

index 2283b851066b0ee70ca3a42f335e5192f8e7bb5c..580eeea6260afffe1486089cc9b2bc480d167bfe 100644 (file)
@@ -115,6 +115,7 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                     font-weight: 700;
                     font-size: 24px;
                     line-height: 1em;
+                    pointer-events: none;
                 }
 
                 .dropzone .dz-preview [data-dz-download] {
@@ -283,7 +284,7 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                                                 notification_type = 'error';
                                             }
 
-                                            new PNotify({
+                                            new Noty({
                                                 text: response.message,
                                                 type: notification_type,
                                                 icon: false
@@ -296,7 +297,7 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                                                 message = xhr.responseJSON.message;
                                             }
 
-                                            new PNotify({
+                                            new Noty({
                                                 text: message,
                                                 type: 'error',
                                                 icon: false
@@ -346,7 +347,7 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                                                     message = response.message;
                                                 }
 
-                                                new PNotify({
+                                                new Noty({
                                                     text: message,
                                                     type: 'error',
                                                     icon: false
@@ -362,7 +363,7 @@ $collection = old(square_brackets_to_dots($field['name'])) ?? $field['value'] ??
                                                 message = xhr.responseJSON.message;
                                             }
 
-                                            new PNotify({
+                                            new Noty({
                                                 text: message,
                                                 type: 'error',
                                                 icon: false