edit tags dialog: initialize autocomplete in onShow (instead of onLoad) because of xhr

This commit is contained in:
Andrew Dolgov 2020-12-23 12:14:11 +03:00
parent 8de2100cf7
commit e86b2e60d3
1 changed files with 1 additions and 1 deletions

View File

@ -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',