mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Fix set column not working because of using wrong constant variable
This commit is contained in:
parent
71605c0c14
commit
6c9e83b38a
@ -1423,7 +1423,7 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
|||||||
// Initialize to false
|
// Initialize to false
|
||||||
for (var i = 0; i < columnMgr.columns.length; i++) {
|
for (var i = 0; i < columnMgr.columns.length; i++) {
|
||||||
var col = columnMgr.columns[i];
|
var col = columnMgr.columns[i];
|
||||||
if (col.caption && col.visibility != et2_dataview_view_grid_1.et2_dataview_grid.ET2_COL_VISIBILITY_ALWAYS_NOSELECT) {
|
if (col.caption && col.visibility != et2_dataview_model_columns_1.et2_dataview_column.ET2_COL_VISIBILITY_ALWAYS_NOSELECT) {
|
||||||
visibility[col.id] = { visible: false };
|
visibility[col.id] = { visible: false };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1961,7 +1961,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
|||||||
for (var i = 0; i < columnMgr.columns.length; i++)
|
for (var i = 0; i < columnMgr.columns.length; i++)
|
||||||
{
|
{
|
||||||
const col = columnMgr.columns[i];
|
const col = columnMgr.columns[i];
|
||||||
if(col.caption && col.visibility != et2_dataview_grid.ET2_COL_VISIBILITY_ALWAYS_NOSELECT )
|
if (col.caption && col.visibility != et2_dataview_column.ET2_COL_VISIBILITY_ALWAYS_NOSELECT )
|
||||||
{
|
{
|
||||||
visibility[col.id] = {visible: false};
|
visibility[col.id] = {visible: false};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user