Fixed encoding issue on autocomplete and input send

This commit is contained in:
Kasper Rynning-Tønnesen
2018-12-04 12:50:27 +01:00
parent cad2292269
commit 9a1a341bfa
2 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ var Frontpage = {
data: data,
limit: 5, // The max amount of results that can be shown at once. Default: Infinity.
onAutocomplete: function(val) {
Frontpage.to_channel(val, false);
Frontpage.to_channel(Helper.encodeChannelName(val), false);
},
});