mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Api: Show nm columns from favourites
Need to update preferences before submitting
This commit is contained in:
parent
9c244a45f6
commit
8584befb83
@ -2238,6 +2238,11 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
}
|
||||
}
|
||||
|
||||
columnMgr.setColumnVisibilitySet(visibility);
|
||||
|
||||
// We don't want to update user's preference, so directly update
|
||||
this.dataview._updateColumns();
|
||||
|
||||
if(need_reload)
|
||||
{
|
||||
// We need to change preferences and reload to get columns that were hidden during the first load
|
||||
@ -2246,11 +2251,6 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
return;
|
||||
}
|
||||
|
||||
columnMgr.setColumnVisibilitySet(visibility);
|
||||
|
||||
// We don't want to update user's preference, so directly update
|
||||
this.dataview._updateColumns();
|
||||
|
||||
// Allow column widgets a chance to resize
|
||||
this.iterateOver(function(widget)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user