mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Etemplate: Also expand grids if they're inside a box
This commit is contained in:
parent
5566a9d971
commit
7cfbf133cd
@ -83,7 +83,7 @@ var et2_box = /** @class */ (function (_super) {
|
||||
}
|
||||
// Create the new element, if no expansion needed
|
||||
var id = et2_readAttrWithDefault(node, "id", "");
|
||||
if (id.indexOf('$') < 0 || widgetType != 'box') {
|
||||
if (id.indexOf('$') < 0 || ['box', 'grid'].indexOf(widgetType) == -1) {
|
||||
this.createElementFromNode(node);
|
||||
childIndex++;
|
||||
}
|
||||
|
@ -93,7 +93,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
|
||||
|
||||
// Create the new element, if no expansion needed
|
||||
var id = et2_readAttrWithDefault(node, "id", "");
|
||||
if(id.indexOf('$') < 0 || widgetType != 'box')
|
||||
if(id.indexOf('$') < 0 || ['box','grid'].indexOf(widgetType) == -1)
|
||||
{
|
||||
this.createElementFromNode(node);
|
||||
childIndex++;
|
||||
|
Loading…
Reference in New Issue
Block a user