Merge pull request #3540 from noamraph/autocomplete_non_latin_display_names

Don't limit @mention autocomplete to latin characters
This commit is contained in:
Robin Ward 2015-06-10 12:36:52 -04:00
commit b779591846

View File

@ -88,11 +88,6 @@ export default function userSearch(options) {
currentTerm = term;
return new Ember.RSVP.Promise(function(resolve) {
// TODO site setting for allowed regex in username
if (term.match(/[^a-zA-Z0-9_\.]/)) {
resolve([]);
return;
}
if (((new Date() - cacheTime) > 30000) || (cacheTopicId !== topicId)) {
cache = {};
}