From b35812fce6463ff2d3e979d0124b2bbae801bb25 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 14 Nov 2016 11:46:21 +0100 Subject: Show specific empty message for tag input fields Signed-off-by: Morris Jobke --- core/js/systemtags/systemtagsinputfield.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core') diff --git a/core/js/systemtags/systemtagsinputfield.js b/core/js/systemtags/systemtagsinputfield.js index 2eb8d0a44cb..5d986d17290 100644 --- a/core/js/systemtags/systemtagsinputfield.js +++ b/core/js/systemtags/systemtagsinputfield.js @@ -408,6 +408,9 @@ return 1; }); return results; + }, + formatNoMatches: function() { + return t('core', 'No tags found'); } }) .on('select2-selecting', this._onSelectTag) -- cgit v1.2.3