From ba0353ecddd535559b21e6bc5557498d2aeaa646 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 11 Sep 2015 17:43:35 +0200 Subject: [PATCH] Auftrags-Controller: "2. Zeile" mit Doppelklick zeigen/verstecken. --- templates/webpages/order/tabs/basic_data.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 80429aaa1..480a0c5ab 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -245,6 +245,13 @@ function row_set_keyboard_events(rows) { return false; } }); + + $(rows).dblclick(function(event) { + event.preventDefault(); + var row = $(event.target).parents(".row_entry").first(); + $(row).children().not(':first').toggle(); + return false; + }); } $(function(){ -- 2.20.1