# HG changeset patch # User Aurelien Campeas # Date 1265279533 -3600 # Node ID b8df4eaffd47f3b6d26ac0a31127595385d85f0b # Parent 5d6dec2c4650e2b908a95edd7c474520393858c7 [views/plot] replace bogus jsoncall computation by something (statistically) more reliable (json_request being set to True in the JSoncontroller diff -r 5d6dec2c4650 -r b8df4eaffd47 web/views/plots.py --- 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):