summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-20 06:08:16 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-20 06:08:16 +0200
commitf3f12303def5f19118f086ca465d67032dc57706 (patch)
tree6f28a3db28c4e6cf9c40115a63b6ae8908327220
parent112916d4ffcc59590b3fd8753ea832c171167751 (diff)
issue119, fixed auto-completetion script-url containing &nbsp;
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r--CHANGELOG2
-rw-r--r--phpfspot.class.php2
-rw-r--r--themes/default/templates/search.tpl4
3 files changed, 5 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index a96c361..c0befcb 100644
--- 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
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&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