From a6a0507a8988254e9f544200f214f14663a81553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Mon, 13 Mar 2023 14:02:30 +0100 Subject: [PATCH] small modifications to equalize the scripts --- view/templates/item/compose.tpl | 2 -- view/theme/frio/templates/comment_item.tpl | 2 -- view/theme/frio/templates/jot.tpl | 6 +----- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/view/templates/item/compose.tpl b/view/templates/item/compose.tpl index 16ba7b477b..22d596b1d5 100644 --- a/view/templates/item/compose.tpl +++ b/view/templates/item/compose.tpl @@ -105,8 +105,6 @@ previewsContainer: '#dz-previewsCompose', preventDuplicates: true, clickable: true, - thumbnailWidth: 100, - thumbnailHeight: 100, url: "/media/photo/upload?response=url&album=", accept: function(file, done) { done(); diff --git a/view/theme/frio/templates/comment_item.tpl b/view/theme/frio/templates/comment_item.tpl index cfc44ceb2f..d1d0d5b623 100644 --- a/view/theme/frio/templates/comment_item.tpl +++ b/view/theme/frio/templates/comment_item.tpl @@ -75,8 +75,6 @@ previewsContainer: '#dz-preview-{{$id}}', preventDuplicates: true, clickable: true, - thumbnailWidth: 100, - thumbnailHeight: 100, url: "/media/photo/upload?response=url&album=", accept: function(file, done) { done(); diff --git a/view/theme/frio/templates/jot.tpl b/view/theme/frio/templates/jot.tpl index 31db86f7cc..05d22d436a 100644 --- a/view/theme/frio/templates/jot.tpl +++ b/view/theme/frio/templates/jot.tpl @@ -189,11 +189,7 @@ can load different content into the jot moadl (e.g. the item edit jot) previewsContainer: '#dz-preview-jot', url: "/media/photo/upload?response=url&album=", accept: function(file, done) { - if (file.name == "justinbieber.jpg") { - done("Naha, you don't."); - } else { - done(); - } + done(); }, init: function() { this.on("success", function(file, serverResponse) {