summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2011-11-26 22:27:47 -0800
committerArun Persaud <apersaud@lbl.gov>2011-11-26 22:27:47 -0800
commitc1e08c52aa47aa1db8a548c5c4b9c61f62335402 (patch)
tree3202ea5e4f3418cad0b3e701b889dff427546501 /index.php
parent629e06724cde4ecd8d1e30fa04567cc1960410c5 (diff)
downloadphoto-tags-c1e08c52aa47aa1db8a548c5c4b9c61f62335402.tar.gz
photo-tags-c1e08c52aa47aa1db8a548c5c4b9c61f62335402.tar.bz2
photo-tags-c1e08c52aa47aa1db8a548c5c4b9c61f62335402.zip
fix automatic tag completion
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index a6112ab..e5131db 100644
--- a/index.php
+++ b/index.php
@@ -64,7 +64,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)
+ d3.select("#MyTags").selectAll("option").data(json[1])
.enter().append("option").attr("value",function(d) {return d.name});
});