diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-05-19 11:28:46 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-05-19 11:31:25 -0700 |
commit | a9be0691d9efd84cbf5a9f05236caf4df23bcfdb (patch) | |
tree | 2b5bcf6ecefb5e93d1f00cb450dd8625fcabfe23 /modules/tag/views | |
parent | 74fa9422db01fbc017ddbc847333cc7847f185ab (diff) |
Create an ajax response framework that inserts <meta> tags to guard
against UTF-7, and create a $.gallery_autocomplete variant of jQuery's
autocomplete that expects the first line to be a <meta> tag and
discards it. More complete fix for #1871.
Diffstat (limited to 'modules/tag/views')
-rw-r--r-- | modules/tag/views/tag_block.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index 98fa0d4f..d25b8dcb 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -2,7 +2,7 @@ <script type="text/javascript"> $("#g-add-tag-form").ready(function() { var url = $("#g-tag-cloud-autocomplete-url").attr("href"); - $("#g-add-tag-form input:text").autocomplete( + $("#g-add-tag-form input:text").gallery_autocomplete( url, { max: 30, multiple: true, |