web/views/plots.py
branchstable
changeset 4453 b8df4eaffd47
parent 4212 ab6573088b4a
child 4459 f628abfb3a6c
--- a/web/views/plots.py	Thu Feb 04 11:30:47 2010 +0100
+++ b/web/views/plots.py	Thu Feb 04 11:32:13 2010 +0100
@@ -124,7 +124,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):