From c1694f676cfff7b1573afc071082aeda9f09d678 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 11 Oct 2022 13:03:58 +0200 Subject: [PATCH] Fix infolog's nm details/no details filter no longer works (both regular and mobile template) --- infolog/js/app.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/infolog/js/app.ts b/infolog/js/app.ts index ebf0e1c19b..f284619a01 100644 --- a/infolog/js/app.ts +++ b/infolog/js/app.ts @@ -324,12 +324,7 @@ class InfologApp extends EgwApp show_details(show, dom_node) { // Show / hide descriptions - egw.css((dom_node && dom_node.id ? "#"+dom_node.id+' ' : '') + ".et2_box.infoDes","display:" + (show ? "block;" : "none;")); - if (egwIsMobile()) - { - var $select = jQuery('.infoDetails'); - (show)? $select.each(function(i,e){jQuery(e).hide();}): $select.each(function(i,e){jQuery(e).show();}); - } + egw.css((dom_node && dom_node.id ? "#"+dom_node.id+' ' : '') + (egwIsMobile()? ".infoDescRow" : ".infoDes"),"display:" + (show ? "block;" : "none;")); } /**