diff options
author | Yorhel <git@yorhel.nl> | 2016-07-03 15:23:22 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-07-03 15:23:24 +0200 |
commit | ceb11ba387eb81dfb50c464d8ac4d1d53ea97def (patch) | |
tree | a045900454fca5ecc32e09e96dc2efd52887305b /data | |
parent | e2cd8349be295dff3fd2b07f1b1c8282377a1ffd (diff) |
Fix adding tags to VNs after last commit
I changed the exact matching syntax of the tag search to be '='-prefixed
rather than 'name:'-prefixed, to be similar to exact staff search. But I
forgot that the JS code relied on the name-prefix.
Diffstat (limited to 'data')
-rw-r--r-- | data/js/vntagmod.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/vntagmod.js b/data/js/vntagmod.js index 8bc5da22..9a857fba 100644 --- a/data/js/vntagmod.js +++ b/data/js/vntagmod.js @@ -101,7 +101,7 @@ function tglAdd() { tg.disabled = add.disabled = true; add.value = 'Loading...'; - ajax('/xml/tags.xml?q=name:'+encodeURIComponent(tg.value), function(hr) { + ajax('/xml/tags.xml?q=='+encodeURIComponent(tg.value), function(hr) { tg.disabled = add.disabled = false; tg.value = ''; add.value = 'Add tag'; |