Browse Source

Show specific empty message for tag input fields

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
tags/v11.0RC2
Morris Jobke 7 years ago
parent
commit
b35812fce6
No account linked to committer's email address

+ 3
- 0
apps/systemtags/js/systemtagsfilelist.js View File

@@ -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));

+ 3
- 0
core/js/systemtags/systemtagsinputfield.js View File

@@ -408,6 +408,9 @@
return 1;
});
return results;
},
formatNoMatches: function() {
return t('core', 'No tags found');
}
})
.on('select2-selecting', this._onSelectTag)

Loading…
Cancel
Save