mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
Fix set column not working because of using wrong constant variable
This commit is contained in:
@@ -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};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user