mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Fix undefined error looking up cell content
This commit is contained in:
parent
7bd1f9f986
commit
d8fb0c8bee
@ -414,8 +414,9 @@ var et2_grid = /** @class */ (function (_super) {
|
||||
for (var name in this.getArrayMgrs()) {
|
||||
//this.getArrayMgr(name).perspectiveData.row = y;
|
||||
}
|
||||
if (this._getCell(cells, x, y).rowData.id) {
|
||||
this.getArrayMgr("content").expandName(this.rowData[y].id);
|
||||
var cell = this._getCell(cells, x, y);
|
||||
if (cell.rowData.id) {
|
||||
this.getArrayMgr("content").expandName(cell.rowData.id);
|
||||
}
|
||||
// If row disabled, just skip it
|
||||
var disabled = false;
|
||||
|
@ -572,9 +572,10 @@ export class et2_grid extends et2_DOMWidget implements et2_IDetachedDOM, et2_IAl
|
||||
//this.getArrayMgr(name).perspectiveData.row = y;
|
||||
}
|
||||
|
||||
if(this._getCell(cells, x,y).rowData.id)
|
||||
let cell = this._getCell(cells, x,y);
|
||||
if(cell.rowData.id)
|
||||
{
|
||||
this.getArrayMgr("content").expandName(this.rowData[y].id);
|
||||
this.getArrayMgr("content").expandName(cell.rowData.id);
|
||||
}
|
||||
// If row disabled, just skip it
|
||||
let disabled = false;
|
||||
|
Loading…
Reference in New Issue
Block a user