mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Fix infolog details / no details filter reloads list instead of changing details
This commit is contained in:
parent
6dd3f4838f
commit
be85db6c53
@ -243,7 +243,7 @@ app.classes.infolog = AppJS.extend(
|
||||
if (nm && filter2)
|
||||
{
|
||||
// Show / hide descriptions
|
||||
this.show_details(filter2.value == 'all', nm.getDOMNode(nm));
|
||||
this.show_details(filter2.get_value() === 'all', nm.getDOMNode(nm));
|
||||
}
|
||||
|
||||
// Only change columns for a real user event, to avoid interfering with
|
||||
@ -273,9 +273,16 @@ app.classes.infolog = AppJS.extend(
|
||||
nm.dataview.getColumnMgr().columns[i].set_visibility(colData[i].visible);
|
||||
}
|
||||
nm.dataview.getColumnMgr().updated = true;
|
||||
// Update page
|
||||
|
||||
// Update page - set update_in_progress to true to avoid triggering
|
||||
// the change handler and looping if the user has a custom field
|
||||
// column change
|
||||
var in_progress = nm.update_in_progress;
|
||||
nm.update_in_progress = true;
|
||||
nm.dataview.updateColumns();
|
||||
nm.update_in_progress = in_progress;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user