From 5591fd3b77ca40960494eb1f8bc345e65e24d41d Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 9 Feb 2024 15:26:03 +0100 Subject: [PATCH] Double click: Disable when forms are displayed effectively disables the double click feature on rename and delete action pages fixes #1598 --- src/moin/templates/show.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moin/templates/show.html b/src/moin/templates/show.html index 0eae32121..90a2aa7d8 100644 --- a/src/moin/templates/show.html +++ b/src/moin/templates/show.html @@ -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 -%}
{%- endif %} {%- if user.show_comments -%}