autocomplete only for search boxes again
This commit is contained in:
parent
bd6b2289b1
commit
24276390b4
@ -1,7 +1,7 @@
|
||||
$(function(){
|
||||
var metatags = ['order:id', 'order:width', 'order:height', 'order:filesize', 'order:filename'];
|
||||
|
||||
$('.autocomplete_tags').tagit({
|
||||
$('[name="search"]').tagit({
|
||||
singleFieldDelimiter: ' ',
|
||||
beforeTagAdded: function(event, ui) {
|
||||
if(metatags.indexOf(ui.tagLabel) !== -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user