From 0ad39493ffd737ae7273b7287de58496b8d4b6fc Mon Sep 17 00:00:00 2001 From: Peter Stadler Date: Fri, 8 Nov 2024 16:20:15 +0100 Subject: [PATCH] directly do search when query terms are entered via the top bar text input --- app/view/desktop/Desktop.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/view/desktop/Desktop.js b/app/view/desktop/Desktop.js index 6dea2561f..97a4676c2 100644 --- a/app/view/desktop/Desktop.js +++ b/app/view/desktop/Desktop.js @@ -198,13 +198,11 @@ Ext.define('EdiromOnline.view.desktop.Desktop', { me.addWindow(win); win.show(); - }else if(win != me.getActiveWindow()) + }else { win.show(); - - else - win.hide(); + } - //win.doSearch(term); + win.doSearch(term); }, getSizeAndPosition: function(maxWidth, maxHeight) {