Merge pull request #5760 from annando/issue-5721
Issue 5721: Temporarily deactivate the picture upload from private mails
This commit is contained in:
commit
4079524f78
|
@ -81,6 +81,11 @@ $(function() {
|
|||
Dialog.doImageBrowser("comment", id);
|
||||
return;
|
||||
}
|
||||
|
||||
if (bbcode == "imgprv") {
|
||||
bbcode = "img";
|
||||
}
|
||||
|
||||
insertFormatting(bbcode, id);
|
||||
});
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
<ul id="prvmail-text-edit-bb" class="comment-edit-bb comment-icon-list nav nav-pills hidden-xs pull-left">
|
||||
<li>
|
||||
<button type="button" class="btn-link icon bb-img" style="cursor: pointer;" title="{{$edimg|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="img" data-id="input">
|
||||
<button type="button" class="btn-link icon bb-img" style="cursor: pointer;" title="{{$edimg|escape:'html'}}" data-role="insert-formatting" data-comment=" " data-bbcode="imgprv" data-id="input">
|
||||
<i class="fa fa-picture-o" aria-hidden="true"></i>
|
||||
</button>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue
Block a user