diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2020-12-23 12:14:11 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2020-12-23 12:14:11 +0300 |
| commit | e86b2e60d3cbb3454eaf922702e1aff29eac07f4 (patch) | |
| tree | 15e945c430c09da0a0c8578d999d2d26eee82dd4 /js/Article.js | |
| parent | 8de2100cf7dde10ebb8d691ddb6bb8c9dfa05514 (diff) | |
edit tags dialog: initialize autocomplete in onShow (instead of onLoad) because of xhr
Diffstat (limited to 'js/Article.js')
| -rw-r--r-- | js/Article.js | 2 |
1 files changed, 1 insertions, 1 deletions
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', |