diff options
author | jokkedk <joakim@jokke.dk> | 2008-05-29 18:50:11 +0000 |
---|---|---|
committer | jokkedk <joakim@jokke.dk> | 2008-05-29 18:50:11 +0000 |
commit | 29a39d9f023caf61cb157433ae0340a3de516a47 (patch) | |
tree | e8a22b0b973909ff2df79a8b043088da398be082 | |
parent | eff895199d2a39607ab57de69bd71196e5653db4 (diff) | |
download | webgrind-29a39d9f023caf61cb157433ae0340a3de516a47.zip webgrind-29a39d9f023caf61cb157433ae0340a3de516a47.tar.gz webgrind-29a39d9f023caf61cb157433ae0340a3de516a47.tar.bz2 |
#7 - Added support for direct link to report as hash in url
-rw-r--r-- | templates/index.phtml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/index.phtml b/templates/index.phtml index fb3cf18..a1fff55 100644 --- a/templates/index.phtml +++ b/templates/index.phtml @@ -179,6 +179,10 @@ } }); $("#function_table").bind("sortStart",sortBlock).bind("sortEnd",$.unblockUI); + + if(document.location.hash) { + update(document.location.hash.substr(1)); + } }); </script> |