From 219cc9a0ab0da20cb82df2647508e29f7f9d1515 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Feb 2021 14:35:10 +0300 Subject: [PATCH] fix previous: secondary dialog not opening because of onLoad --- js/CommonFilters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/CommonFilters.js b/js/CommonFilters.js index a28aa2d24..e0e8034ea 100644 --- a/js/CommonFilters.js +++ b/js/CommonFilters.js @@ -332,7 +332,7 @@ const Filters = { /* global getSelectionText */ const selectedText = getSelectionText(); - const lh = dojo.connect(dialog, "onLoad", function () { + const lh = dojo.connect(dialog, "onShow", function () { dojo.disconnect(lh); if (selectedText != "") {