mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +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
|
// Create the new element, if no expansion needed
|
||||||
var id = et2_readAttrWithDefault(node, "id", "");
|
var id = et2_readAttrWithDefault(node, "id", "");
|
||||||
if (id.indexOf('$') < 0 || widgetType != 'box') {
|
if (id.indexOf('$') < 0 || ['box', 'grid'].indexOf(widgetType) == -1) {
|
||||||
this.createElementFromNode(node);
|
this.createElementFromNode(node);
|
||||||
childIndex++;
|
childIndex++;
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ export class et2_box extends et2_baseWidget implements et2_IDetachedDOM
|
|||||||
|
|
||||||
// Create the new element, if no expansion needed
|
// Create the new element, if no expansion needed
|
||||||
var id = et2_readAttrWithDefault(node, "id", "");
|
var id = et2_readAttrWithDefault(node, "id", "");
|
||||||
if(id.indexOf('$') < 0 || widgetType != 'box')
|
if(id.indexOf('$') < 0 || ['box','grid'].indexOf(widgetType) == -1)
|
||||||
{
|
{
|
||||||
this.createElementFromNode(node);
|
this.createElementFromNode(node);
|
||||||
childIndex++;
|
childIndex++;
|
||||||
|
Loading…
Reference in New Issue
Block a user