issue119, fixed auto-completetion script-url containing  
authorAndreas Unterkircher <unki@netshadow.at>
Tue, 20 May 2008 04:08:16 +0000 (06:08 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Tue, 20 May 2008 04:08:16 +0000 (06:08 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
CHANGELOG
phpfspot.class.php
themes/default/templates/search.tpl

index a96c361..c0befcb 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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 &nbsp; in
+    a JavaScript URL.
 
  -- Andreas Unterkircher <unki@netshadow.at>  Sat, 13 Apr 2008 11:00:00 +0100
 
index f938dbc..d2bb907 100644 (file)
@@ -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()
index 767cbcf..c1d152c 100644 (file)
@@ -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&amp;search=[S]&amp;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&amp;",
+         script: "rpc.php?action=getxmltaglist&",
          varname: "search",
          json: false,
          maxresults: 15