mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix nextmatch row expansion not properly displaying children
This commit is contained in:
parent
cd530e6af0
commit
c19502ce5b
@ -146,7 +146,7 @@ var et2_dataview_row = /** @class */ (function (_super) {
|
|||||||
/** -- Implementation of et2_dataview_IViewRange -- **/
|
/** -- Implementation of et2_dataview_IViewRange -- **/
|
||||||
et2_dataview_row.prototype.setViewRange = function (_range) {
|
et2_dataview_row.prototype.setViewRange = function (_range) {
|
||||||
if (this.expansionContainer && this.expansionVisible
|
if (this.expansionContainer && this.expansionVisible
|
||||||
&& this.expansionContainer.implements(et2_dataview_IViewRange)) {
|
&& implements_et2_dataview_IViewRange(this.expansionContainer)) {
|
||||||
// Substract the height of the own row from the container
|
// Substract the height of the own row from the container
|
||||||
var oh = jQuery(this._nodes[0]).height();
|
var oh = jQuery(this._nodes[0]).height();
|
||||||
_range.top -= oh;
|
_range.top -= oh;
|
||||||
|
@ -189,7 +189,7 @@ export class et2_dataview_row extends et2_dataview_container implements et2_data
|
|||||||
setViewRange( _range)
|
setViewRange( _range)
|
||||||
{
|
{
|
||||||
if (this.expansionContainer && this.expansionVisible
|
if (this.expansionContainer && this.expansionVisible
|
||||||
&& this.expansionContainer.implements(et2_dataview_IViewRange))
|
&& implements_et2_dataview_IViewRange(this.expansionContainer))
|
||||||
{
|
{
|
||||||
// Substract the height of the own row from the container
|
// Substract the height of the own row from the container
|
||||||
var oh = jQuery(this._nodes[0]).height();
|
var oh = jQuery(this._nodes[0]).height();
|
||||||
|
Loading…
Reference in New Issue
Block a user