edit tags dialog: initialize autocomplete in onShow (instead of onLoad) because of xhr
This commit is contained in:
parent
8de2100cf7
commit
e86b2e60d3
|
@ -295,7 +295,7 @@ const Article = {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const tmph = dojo.connect(dialog, 'onLoad', function () {
|
const tmph = dojo.connect(dialog, 'onShow', function () {
|
||||||
dojo.disconnect(tmph);
|
dojo.disconnect(tmph);
|
||||||
|
|
||||||
new Ajax.Autocompleter('tags_str', 'tags_choices',
|
new Ajax.Autocompleter('tags_str', 'tags_choices',
|
||||||
|
|
Loading…
Reference in New Issue