mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Api: Fix nm columns disabled via content could break subsequent columns, giving JS error
"Uncaught TypeError: Cannot read property 'getAttribute' of undefined"
This commit is contained in:
parent
634eee092b
commit
03a5620ea9
@ -892,6 +892,7 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
||||
if (_colData[x].disabled && _colData[x].disabled !== '' &&
|
||||
this.getArrayMgr("content").parseBoolExpression(_colData[x].disabled)) {
|
||||
visibility = et2_dataview_model_columns_1.et2_dataview_column.ET2_COL_VISIBILITY_DISABLED;
|
||||
this.columns[x].visible = false;
|
||||
}
|
||||
columnData[x] = {
|
||||
"id": "col_" + x,
|
||||
|
@ -1245,6 +1245,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
this.getArrayMgr("content").parseBoolExpression(_colData[x].disabled))
|
||||
{
|
||||
visibility = et2_dataview_column.ET2_COL_VISIBILITY_DISABLED;
|
||||
this.columns[x].visible = false;
|
||||
}
|
||||
columnData[x] = {
|
||||
"id": "col_" + x,
|
||||
|
Loading…
Reference in New Issue
Block a user