summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-11-14 11:46:21 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-11-14 11:46:21 +0100
commitb35812fce6463ff2d3e979d0124b2bbae801bb25 (patch)
tree3c1f1d992310714508753b7f8ce13a4bb12d61ea /core/js
parent16a110e803a1786e638b8141fd65fc229b845a5d (diff)
downloadnextcloud-server-b35812fce6463ff2d3e979d0124b2bbae801bb25.tar.gz
nextcloud-server-b35812fce6463ff2d3e979d0124b2bbae801bb25.zip
Show specific empty message for tag input fields
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/systemtags/systemtagsinputfield.js3
1 files changed, 3 insertions, 0 deletions
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)