forked from extern/egroupware
Fix first repeating row had no widgets
This commit is contained in:
parent
39590368bf
commit
444f98fe34
@ -209,7 +209,7 @@ var et2_arrayMgr = /** @class */ (function () {
|
|||||||
var pos_var = _ident.indexOf('$');
|
var pos_var = _ident.indexOf('$');
|
||||||
if (pos_var >= 0 && (this.perspectiveData.row != null || !_ident.match(/\$\{?row\}?/))) {
|
if (pos_var >= 0 && (this.perspectiveData.row != null || !_ident.match(/\$\{?row\}?/))) {
|
||||||
// Get the content array for the current row
|
// Get the content array for the current row
|
||||||
var row = this.perspectiveData.row || '';
|
var row = typeof this.perspectiveData.row == 'number' ? this.perspectiveData.row : '';
|
||||||
var row_cont = this.data[row] || {};
|
var row_cont = this.data[row] || {};
|
||||||
// $cont is NOT root but current name-space in old eTemplate
|
// $cont is NOT root but current name-space in old eTemplate
|
||||||
var cont = this.data; //getRoot().data;
|
var cont = this.data; //getRoot().data;
|
||||||
|
@ -227,7 +227,7 @@ export class et2_arrayMgr
|
|||||||
const pos_var = _ident.indexOf('$');
|
const pos_var = _ident.indexOf('$');
|
||||||
if (pos_var >= 0 && (this.perspectiveData.row != null || !_ident.match(/\$\{?row\}?/))) {
|
if (pos_var >= 0 && (this.perspectiveData.row != null || !_ident.match(/\$\{?row\}?/))) {
|
||||||
// Get the content array for the current row
|
// Get the content array for the current row
|
||||||
const row = this.perspectiveData.row || '';
|
const row = typeof this.perspectiveData.row == 'number' ? this.perspectiveData.row : '';
|
||||||
const row_cont = this.data[row] || {};
|
const row_cont = this.data[row] || {};
|
||||||
// $cont is NOT root but current name-space in old eTemplate
|
// $cont is NOT root but current name-space in old eTemplate
|
||||||
const cont = this.data;//getRoot().data;
|
const cont = this.data;//getRoot().data;
|
||||||
|
Loading…
Reference in New Issue
Block a user