projects
/
photo-tags.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a26a32
)
fix autocomplete of tags
author
Arun Persaud
<arun@nubati.net>
Wed, 25 Jan 2012 04:41:19 +0000
(20:41 -0800)
committer
Arun Persaud
<apersaud@lbl.gov>
Wed, 25 Jan 2012 04:41:19 +0000
(20:41 -0800)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index aa799b98d868fb0f220e9484205499e709aa40d5..34382f9bd334991c20287262542a71f28aa65978 100644
(file)
--- 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) {
/* 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});
});
.enter().append("option").attr("value",function(d) {return d.name});
});