summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-26 22:29:40 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-26 22:29:40 -0800
commit26ae9884808f0613d35268818a3b0cd7ed247872 (patch)
treec1a2b8bdf9aca940fbb7feabacd4bb5235075a67
parentc1e08c52aa47aa1db8a548c5c4b9c61f62335402 (diff)
downloadphoto-tags-26ae9884808f0613d35268818a3b0cd7ed247872.tar.gz
photo-tags-26ae9884808f0613d35268818a3b0cd7ed247872.tar.bz2
photo-tags-26ae9884808f0613d35268818a3b0cd7ed247872.zip
fix displaying of tags that include a whitespace (use + instead)
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index e5131db..4a7bdf4 100644
--- a/index.php
+++ b/index.php
@@ -70,7 +70,7 @@ d3.json("<?php echo $webbase?>/getjson.php?S", function(json) {
/* update form to point to new link */
d3.select("input").on("keyup", function(d) {
- d3.select('form').attr("action","<?php echo $webbase?>/tag/"+document.getElementById('MyTagsInput').value);
+ d3.select('form').attr("action","<?php echo $webbase?>/tag/"+document.getElementById('MyTagsInput').value.replace(" ","+"));
});
function myreload(a) {