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 a96c36163970f61e6cd402ff1f404185ab883e3f..c0befcba97b4d29727c15fb8bcfdfa9e9d5e59e0 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 f938dbc30ef4710640744fa619ec8bf19213d377..d2bb907009a9a29d98809247f7699b1aecb65425 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 767cbcf708175316ced302b4909d8a8d9e034a07..c1d152c7e4c8a39070020796e9f90a8190c5e1ff 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