mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Show or hide details only for the current nextmatch
This commit is contained in:
parent
12ab21e6a4
commit
9a0b6a921b
@ -161,7 +161,7 @@ app.classes.infolog = AppJS.extend(
|
||||
if (nm && filter2)
|
||||
{
|
||||
// Show / hide descriptions
|
||||
this.show_details(filter2.value == 'all');
|
||||
this.show_details(filter2.value == 'all', nm.getDOMNode(nm));
|
||||
|
||||
// Change preference location - widget is nextmatch
|
||||
nm.options.settings.columnselection_pref = nm.options.settings.columnselection_pref.replace('-details','') + (filter2.value == 'all' ? '-details' :'');
|
||||
@ -188,10 +188,10 @@ app.classes.infolog = AppJS.extend(
|
||||
*
|
||||
* @param show
|
||||
*/
|
||||
show_details: function(show)
|
||||
show_details: function(show, dom_node)
|
||||
{
|
||||
// Show / hide descriptions
|
||||
egw.css(".et2_box.infoDes","display:" + (show ? "block;" : "none;"));
|
||||
egw.css((dom_node && dom_node.id ? "#"+dom_node.id+' ' : '') + ".et2_box.infoDes","display:" + (show ? "block;" : "none;"));
|
||||
},
|
||||
|
||||
confirm_delete_2: function (_action, _senders)
|
||||
|
Loading…
Reference in New Issue
Block a user