From a98f7577bae0ab31b295ccab3d0a9bb9d307c8c4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 21 Jul 2012 16:16:36 -0700 Subject: Avoid chaining after .gallery_autocomplete() - there are reports that it doesn't work with later versions of jQuery. Fixes #1889. --- modules/tag/helpers/tag_event.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/tag') 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()}); });"); -- cgit v1.2.3