diff options
author | Andrew Dolgov <[email protected]> | 2021-02-12 14:35:10 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-12 14:35:10 +0300 |
commit | 219cc9a0ab0da20cb82df2647508e29f7f9d1515 (patch) | |
tree | 77945caa4820747e0d3e083068fe03c15b2ae5fa | |
parent | 8f8675a26abf86ff6a77bc750096b77491d71213 (diff) |
fix previous: secondary dialog not opening because of onLoad
-rw-r--r-- | js/CommonFilters.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 != "") { |