diff --git a/js/Feeds.js b/js/Feeds.js
index 98db500aa912585877cebd67b5bf27b7b4ccf30a..ccb982cb3682e69e20f437ebf2cc75322af0b945 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -562,6 +562,7 @@ const	Feeds = {
 					{op: "feeds", method: "search",
 						param: Feeds.getActive() + ":" + Feeds.activeIsCat()},
 					(transport) => {
+
 						const dialog = new dijit.Dialog({
 							id: "searchDlg",
 							content: transport.responseText,
@@ -581,7 +582,7 @@ const	Feeds = {
 							},
 						});
 
-						const tmph = dojo.connect(dialog, 'onLoad', function () {
+						const tmph = dojo.connect(dialog, 'onShow', function () {
 							dojo.disconnect(tmph);
 
 							if (Feeds._search_query) {