fix previous: secondary dialog not opening because of onLoad

This commit is contained in:
Andrew Dolgov 2021-02-12 14:35:10 +03:00
parent 8f8675a26a
commit 219cc9a0ab
1 changed files with 1 additions and 1 deletions

View File

@ -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 != "") {