HCoop
/
clinton
/
MarylandElectronicPetitionSignature.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b7c02
)
Update index.php
author
Patrick McGuire
<insidenothing@gmail.com>
Fri, 5 Jun 2020 14:58:28 +0000
(10:58 -0400)
committer
GitHub
<noreply@github.com>
Fri, 5 Jun 2020 14:58:28 +0000
(10:58 -0400)
admin/index.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/index.php
b/admin/index.php
index
75c8dc7
..
56b833e
100644
(file)
--- a/
admin/index.php
+++ b/
admin/index.php
@@
-157,9
+157,25
@@
while($d = mysqli_fetch_array($r)){
+<script>
+window.onload = function () {
+
+<?PHP echo $javascript;?>
+
+function toggleDataSeries(e) {
+ if (typeof(e.dataSeries.visible) === "undefined" || e.dataSeries.visible ){
+ e.dataSeries.visible = false;
+ } else {
+ e.dataSeries.visible = true;
+ }
+ chart.render();
+}
+
+}
+</script>
<?PHP
-echo $javascript;
+
include_once('footer.php');
?>