Skip to content

Commit

Permalink
Merge pull request #1599 from sebix/fix-1598
Browse files Browse the repository at this point in the history
Disable Double click on rename and delete pages
  • Loading branch information
UlrichB22 authored Feb 12, 2024
2 parents 7792aa9 + 5591fd3 commit 9d65bd6
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) and data_rendered -%}
{%- if item_name and user.edit_on_doubleclick and user.may.write(item_name) and data_rendered and not form -%}
<br id="moin-edit-on-doubleclick" />
{%- endif %}
{%- if user.show_comments -%}
Expand Down

0 comments on commit 9d65bd6

Please sign in to comment.