]> git.mxchange.org Git - friendica.git/commitdiff
small modifications to equalize the scripts
authorJakobus Schürz <jakobus.schuerz@schuerz.at>
Mon, 13 Mar 2023 13:02:30 +0000 (14:02 +0100)
committerJakobus Schürz <jakobus.schuerz@schuerz.at>
Sun, 19 Mar 2023 17:52:45 +0000 (18:52 +0100)
view/templates/item/compose.tpl
view/theme/frio/templates/comment_item.tpl
view/theme/frio/templates/jot.tpl

index 16ba7b477b8df60bc9aa450398ab0af2d45f0134..22d596b1d52f542e750e4740884ab41558b11917 100644 (file)
                previewsContainer: '#dz-previewsCompose',
                preventDuplicates: true,
                clickable: true,
-               thumbnailWidth: 100,
-               thumbnailHeight: 100,
                url: "/media/photo/upload?response=url&album=",
                accept: function(file, done) {
                        done();
index cfc44ceb2ffe8dd6b47350c9fefc38284d9da9eb..d1d0d5b62356e3e12a57c7d1c39c9b558a2a539b 100644 (file)
@@ -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();
index 31db86f7cc0ac30f35587ecc884cab63492f1224..05d22d436a446926aeee87eee156be21014a0055 100644 (file)
@@ -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) {