summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-27 11:25:31 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-27 11:25:31 -0700
commit5335e4c0b4bffeeeb8667ed706b5e8702de00ce9 (patch)
tree9ca50e8f33624f5d45c8407c93075a1cbc80e53e /modules
parente5ae2c91bc58518c977afdc134d5a59cb7ed9b71 (diff)
Fix the autocomplete callback in item_edit_form(). We were
incorrectly matching the form input in the jQuery selector. Did this ever work? Fixes ticket #1168
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/helpers/tag_event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php
index a790b930..1a593d3f 100644
--- a/modules/tag/helpers/tag_event.php
+++ b/modules/tag/helpers/tag_event.php
@@ -67,8 +67,8 @@ class tag_event_Core {
static function item_edit_form($item, $form) {
$url = url::site("tags/autocomplete");
$form->script("")
- ->text("$('form input[id=tags]').ready(function() {
- $('form input[id=tags]').autocomplete(
+ ->text("$('form input[name=tags]').ready(function() {
+ $('form input[name=tags]').autocomplete(
'$url', {max: 30, multiple: true, multipleSeparator: ',', cacheLength: 1});
});");