Skip to content
Snippets Groups Projects
Commit cebb6899 authored by Morris Jobke's avatar Morris Jobke Committed by GitHub
Browse files

Merge pull request #2106 from nextcloud/proper-empty-message-for-tags

Show specific empty message for tag input fields
parents fdd90441 b35812fc
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment