summaryrefslogtreecommitdiff
path: root/modules/tag/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-23 22:08:29 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-23 22:08:29 -0700
commit50d6cc0150b930d79d3e8b90956ffa9655fcc9c5 (patch)
treed2a90c14bb7d5e807037909b6005f4b7a9aeab73 /modules/tag/views
parent5c8a2a750ccc16b5e8b0dd97ff21dbfb9860d856 (diff)
parent078c77a62b623322956457bfd7bfbdaf56203b00 (diff)
Merge branch 'master' of git@github.com:/gallery/gallery3
Diffstat (limited to 'modules/tag/views')
-rw-r--r--modules/tag/views/tag_block.html.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php
index 12c90857..233eb361 100644
--- a/modules/tag/views/tag_block.html.php
+++ b/modules/tag/views/tag_block.html.php
@@ -1,4 +1,14 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
+<script>
+ $("#gAddTagForm").ready(function() {
+ var url = $("#gTagCloud").attr("title") + "/autocomplete";
+ $("#gAddTagForm input:text").autocomplete(
+ url, {
+ max: 30,
+ formatResult: formatTagAutoCompleteResult}
+ );
+ });
+</script>
<div id="gTagCloud" title="<?= url::site("tags") ?>">
<?= $cloud ?>
</div>