fixed add ann
authorAndrew Tridgell <tridge@samba.org>
Thu, 14 Oct 2010 01:02:52 +0000 (12:02 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 14 Oct 2010 01:02:52 +0000 (12:02 +1100)
live/graphs.js

index a90918202dbac647a9b4edc37e7b9cde5e04e04a..8b87c5af4945f914e803b0c2b65251df88c6fb48 100644 (file)
@@ -603,7 +603,7 @@ function annotation_add_graph(g, p, ann) {
 function annotation_add(event, p) {
   var ann = {
   series: p.name,
-  xval: p.xval,
+  xval: p.xval - (tz_difference*60*60*1000),
   shortText: '!',
   text: prompt("Enter annotation", ""),
   };