Skip to content

Commit

Permalink
Merge pull request #1548 from wagner-intevation/fix-1545
Browse files Browse the repository at this point in the history
Limit double-click feature to item view
  • Loading branch information
RogerHaase authored Oct 10, 2023
2 parents d59fad9 + 7887fa4 commit 8689969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/moin/templates/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{% endblock %}

{% block options_for_javascript %}
{%- if item_name and user.edit_on_doubleclick and user.may.write(item_name) -%}
{%- if item_name and user.edit_on_doubleclick and user.may.write(item_name) and data_rendered -%}
<br id="moin-edit-on-doubleclick" />
{%- endif %}
{%- if user.show_comments -%}
Expand Down

0 comments on commit 8689969

Please sign in to comment.