@anonymous-piwik-user opened this Issue on September 23rd 2011

Why do we require "jsoncallback=?" and not just the "callback=?" that jQuery defaults to? It would be a lot easier on new developers if their jQuery calls just worked instead of having to append an extra hash.

@robocoder commented on September 23rd 2011 Contributor

JSONP doesn't dictate the parameter name. But I suspect when jsonp support was added, the parameter name didn't default to "callback". (Today, this appears to de facto with jquery, dojo, and extjs.)

I'm guessing we would have to make this configureable since it is a potential compat buster.

@robocoder commented on September 24th 2011 Contributor

(In [5216]) fixes #2679 - use de facto standard "callback" for the JSONP callback parameter name

@mattab commented on September 25th 2011 Member

changeset not BC, we should read both jsoncallback and callback parameter for BC

@robocoder commented on September 25th 2011 Contributor

(In [5221]) fixes #2679 - fallback to jsoncallback (BC)

@robocoder commented on September 25th 2011 Contributor

(In [5222]) refs #2679

This Issue was closed on September 25th 2011
Powered by GitHub Issue Mirror