Commit 650ea4df authored by Aurelien Campeas's avatar Aurelien Campeas
Browse files

[views/plot] replace bogus jsoncall computation by something (statistically)...

[views/plot] replace bogus jsoncall computation by something (statistically) more reliable (json_request being set to True in the JSoncontroller

--HG--
branch : stable
parent 5d6dec2c4650
......@@ -124,7 +124,7 @@ if (fig.attr('cubicweb:type') != 'prepared-plot') {
'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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment