Fix visibility for sending to reader without download permissions (fix for #2847)
This commit is contained in:
parent
fda62dde1d
commit
279f0569e4
|
@ -40,6 +40,7 @@ $(".sendbtn-form").click(function() {
|
|||
$.ajax({
|
||||
method: 'post',
|
||||
url: $(this).data('href'),
|
||||
data: {csrf_token: $("input[name='csrf_token']").val()},
|
||||
success: function (data) {
|
||||
handleResponse(data)
|
||||
}
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if current_user.kindle_mail and entry.email_share_list %}
|
||||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
|
||||
{% if entry.email_share_list.__len__() == 1 %}
|
||||
|
@ -69,6 +68,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if entry.reader_list and current_user.role_viewer() %}
|
||||
<div class="btn-group" role="group">
|
||||
{% if entry.reader_list|length > 1 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user