web/views/plots.py
changeset 4459 f628abfb3a6c
parent 4320 4efd4c306746
parent 4453 b8df4eaffd47
child 4466 8b0ca7904820
--- a/web/views/plots.py	Thu Feb 04 13:17:26 2010 +0100
+++ b/web/views/plots.py	Fri Feb 05 07:25:16 2010 +0100
@@ -119,7 +119,7 @@
                                      'figid': figid,
                                      'plotdata': ','.join(plotdata),
                                      'mode': self.timemode and "'time'" or 'null'},
-                                    jsoncall=req.form.get('jsoncall', False))
+                                    jsoncall=req.json_request)
 
 
 class PlotView(baseviews.AnyRsetView):