From ab64cb42d50e3ca96016958dfd7c47f623f760db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Fri, 11 Sep 2015 17:35:20 +0200 Subject: [PATCH] Auftrags-Controller: richtigen tbody zum Zeigen und Verstecken der 2. Zeile finden. --- templates/webpages/order/tabs/basic_data.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index fffd88c19..80429aaa1 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -233,14 +233,14 @@ function row_set_keyboard_events(rows) { if(event.keyCode == 40 && event.shiftKey == true) { // shift arrow down event.preventDefault(); - var row = $(event.target).parents("tbody").first(); + var row = $(event.target).parents(".row_entry").first(); $(row).children().not(':first').show(); return false; } if(event.keyCode == 38 && event.shiftKey == true) { // shift arrow up event.preventDefault(); - var row = $(event.target).parents("tbody").first(); + var row = $(event.target).parents(".row_entry").first(); $(row).children().not(':first').hide(); return false; } -- 2.20.1