Fix infolog's nm details/no details filter no longer works (both regular and mobile template)

This commit is contained in:
Hadi Nategh 2022-10-11 13:03:58 +02:00
parent 006199a199
commit c1694f676c

View File

@ -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;"));
}
/**