Fix nm left template in wrong place

This commit is contained in:
nathan 2021-11-19 11:57:22 -07:00
parent 105b0705b1
commit 32d5bae817

View File

@ -3846,7 +3846,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
} }
if(_sender == this.favorites) if(_sender == this.favorites)
{ {
return egwIsMobile() ? this.search_box.find('.nm_favorites_div').show() : this.right_div; return egwIsMobile() ? this.search_box.find('.nm_favorites_div').show()[0] : this.right_div[0];
} }
if(_sender.id == 'export') if(_sender.id == 'export')
{ {
@ -3863,14 +3863,6 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext
} }
} }
} }
for(let header of this.headers)
{
if(header && header.getDOMNode && header.getDOMNode(_sender))
{
return header.getDOMNode(_sender);
}
}
return null; return null;
} }