From 32d5bae817bd294bc5db295a0cc1ee98610bb4bf Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 19 Nov 2021 11:57:22 -0700 Subject: [PATCH] Fix nm left template in wrong place --- api/js/etemplate/et2_extension_nextmatch.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 4d9b245218..4f3a098805 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -3846,7 +3846,7 @@ export class et2_nextmatch_header_bar extends et2_DOMWidget implements et2_INext } 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') { @@ -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; }