summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2012-01-24 20:41:19 -0800
committerArun Persaud <apersaud@lbl.gov>2012-01-24 20:41:19 -0800
commit39e972d629841a6d6086837433a1060fa6be2851 (patch)
treed7e9256e01afa6890fe484e3104621cd768ce8ef
parent8a26a320c6804949a140cc0b62de507c1d19f345 (diff)
downloadphoto-tags-39e972d629841a6d6086837433a1060fa6be2851.tar.gz
photo-tags-39e972d629841a6d6086837433a1060fa6be2851.tar.bz2
photo-tags-39e972d629841a6d6086837433a1060fa6be2851.zip
fix autocomplete of tags
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index aa799b9..34382f9 100644
--- a/index.php
+++ b/index.php
@@ -78,7 +78,7 @@ var count=0;
/* populate data list with tags*/
d3.json("<?php echo $webbase?>/getjson.php?S", function(json) {
- d3.select("#MyTags").selectAll("option").data(json[1])
+ d3.select("#MyTags").selectAll("option").data(json)
.enter().append("option").attr("value",function(d) {return d.name});
});