fix previous: secondary dialog not opening because of onLoad
This commit is contained in:
parent
8f8675a26a
commit
219cc9a0ab
|
@ -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 != "") {
|
||||
|
|
Loading…
Reference in New Issue