Show specific empty message for tag input fields
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
16a110e803
commit
b35812fce6
|
@ -115,6 +115,9 @@
|
|||
escapeMarkup: function(m) {
|
||||
// prevent double markup escape
|
||||
return m;
|
||||
},
|
||||
formatNoMatches: function() {
|
||||
return t('systemtags', 'No tags found');
|
||||
}
|
||||
});
|
||||
this.$filterField.on('change', _.bind(this._onTagsChanged, this));
|
||||
|
|
|
@ -408,6 +408,9 @@
|
|||
return 1;
|
||||
});
|
||||
return results;
|
||||
},
|
||||
formatNoMatches: function() {
|
||||
return t('core', 'No tags found');
|
||||
}
|
||||
})
|
||||
.on('select2-selecting', this._onSelectTag)
|
||||
|
|
Loading…
Reference in New Issue