mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Don't try to change columns that can't be changed, fixes Uncaught TypeError: Cannot set property 'visible' of undefined
This commit is contained in:
parent
1c24585eab
commit
9f32a7e1a9
@ -1522,7 +1522,9 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
|
||||
|
||||
var widget = this.columns[i].widget;
|
||||
var colName = this._getColumnName(widget);
|
||||
if(column_list.indexOf(colName) !== -1)
|
||||
if(column_list.indexOf(colName) !== -1 &&
|
||||
typeof visibility[columnMgr.columns[i].id] !== 'undefined'
|
||||
)
|
||||
{
|
||||
visibility[columnMgr.columns[i].id].visible = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user