From: Michael Date: Thu, 13 Sep 2018 15:46:37 +0000 (+0000) Subject: Issue 5721: Temporarily deactivate the picture upload from private mails X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63b5cb4fc688f9da2984c4c10439dba3a432633a;p=friendica.git Issue 5721: Temporarily deactivate the picture upload from private mails --- diff --git a/view/js/main.js b/view/js/main.js index 4ccbc8044e..83086c82b0 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -81,6 +81,11 @@ $(function() { Dialog.doImageBrowser("comment", id); return; } + + if (bbcode == "imgprv") { + bbcode = "img"; + } + insertFormatting(bbcode, id); }); diff --git a/view/theme/frio/templates/prv_message.tpl b/view/theme/frio/templates/prv_message.tpl index 4c90dcae6d..9077c4d4c1 100644 --- a/view/theme/frio/templates/prv_message.tpl +++ b/view/theme/frio/templates/prv_message.tpl @@ -33,7 +33,7 @@