mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-01 05:24:11 +01:00
Bookmark: Restore placeholder for tags fix #150
This commit is contained in:
parent
a5880b7254
commit
e2a3f79045
6
3rdparty/js/tag-it.js
vendored
6
3rdparty/js/tag-it.js
vendored
@ -34,7 +34,7 @@
|
||||
tagSource : null,
|
||||
removeConfirmation: false,
|
||||
caseSensitive : true,
|
||||
|
||||
placeholderText : null,
|
||||
// When enabled, quotes are not neccesary
|
||||
// for inputting multi-word tags.
|
||||
allowSpaces: false,
|
||||
@ -97,7 +97,9 @@
|
||||
if (this.options.tabIndex) {
|
||||
this._tagInput.attr('tabindex', this.options.tabIndex);
|
||||
}
|
||||
|
||||
if (this.options.placeholderText) {
|
||||
this._tagInput.attr('placeholder', this.options.placeholderText);
|
||||
}
|
||||
this.options.tagSource = this.options.tagSource || function(search, showChoices) {
|
||||
var filter = search.term.toLowerCase();
|
||||
var choices = $.grep(that.options.availableTags, function(element) {
|
||||
|
Loading…
Reference in New Issue
Block a user