mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Api: Show nm columns from favourites
Need to update preferences before submitting
This commit is contained in:
parent
e24b5578a3
commit
d5139d41fb
@ -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