From e86b2e60d3cbb3454eaf922702e1aff29eac07f4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Dec 2020 12:14:11 +0300 Subject: [PATCH] edit tags dialog: initialize autocomplete in onShow (instead of onLoad) because of xhr --- js/Article.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Article.js b/js/Article.js index 76637cd69..587243a01 100644 --- a/js/Article.js +++ b/js/Article.js @@ -295,7 +295,7 @@ const Article = { }, }); - const tmph = dojo.connect(dialog, 'onLoad', function () { + const tmph = dojo.connect(dialog, 'onShow', function () { dojo.disconnect(tmph); new Ajax.Autocompleter('tags_str', 'tags_choices',