diff options
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | phpfspot.class.php | 2 | ||||
-rw-r--r-- | themes/default/templates/search.tpl | 4 |
3 files changed, 5 insertions, 3 deletions
@@ -7,6 +7,8 @@ phpfspot (1.5) * bug, if tag added to hide-tags, don't show up in photo-details box (single-photo). * bug, if tag added to hide-tags, don't allow adding to selected-tags list. * bug, if tag added to hide-tags, random-photo needs to take care of it. + * bug, auto-completition seemed not to work on all browser's caused by an in + a JavaScript URL. -- Andreas Unterkircher <unki@netshadow.at> Sat, 13 Apr 2008 11:00:00 +0100 diff --git a/phpfspot.class.php b/phpfspot.class.php index f938dbc..d2bb907 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -872,7 +872,7 @@ class PHPFSPOT { } // resetTags() /** - * returns the value for the autocomplet tag-search + * returns the value for the autocomplete tag-search * @return string */ public function get_xml_tag_list() diff --git a/themes/default/templates/search.tpl b/themes/default/templates/search.tpl index 767cbcf..c1d152c 100644 --- a/themes/default/templates/search.tpl +++ b/themes/default/templates/search.tpl @@ -8,11 +8,11 @@ <td>Tag:</td> <td> { if $use_autocomplete } - <input type="text" name="searchfor_tag" id="searchfor_tag" value="{$searchfor_tag}" size="15" acdropdown="true" autocomplete_list="url:rpc.php?action=getxmltaglist&search=[S]&length=10" /> + <input type="text" name="searchfor_tag" id="searchfor_tag" value="{$searchfor_tag}" size="15" acdropdown="true" autocomplete_list="url:rpc.php?action=getxmltaglist&search=[S]&length=10" /> { literal } <script type="text/javascript"> var options = { - script: "rpc.php?action=getxmltaglist&", + script: "rpc.php?action=getxmltaglist&", varname: "search", json: false, maxresults: 15 |