summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2012-07-21 16:16:36 -0700
committerBharat Mediratta <bharat@menalto.com>2012-07-21 16:16:36 -0700
commita98f7577bae0ab31b295ccab3d0a9bb9d307c8c4 (patch)
treeafb6ae6a0d577d0a7bd08b6a56e28e105ede225e
parent8524fba15a4cbabe1d6c4e60bdfe9e766eca1fdc (diff)
Avoid chaining after .gallery_autocomplete() - there are reports that
it doesn't work with later versions of jQuery. Fixes #1889.
-rw-r--r--modules/tag/helpers/tag_event.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php
index d2757219..b54fbfb9 100644
--- a/modules/tag/helpers/tag_event.php
+++ b/modules/tag/helpers/tag_event.php
@@ -126,7 +126,8 @@ class tag_event_Core {
.gallery_autocomplete(
'$autocomplete_url',
{max: 30, multiple: true, multipleSeparator: ',', cacheLength: 1}
- )
+ );
+ $('input[name=tags]')
.change(function (event) {
$('#g-uploadify').uploadifySettings('scriptData', {'tags': $(this).val()});
});");