removed hack
This commit is contained in:
parent
9c74fccacf
commit
b66f39ab2d
@ -108,7 +108,6 @@ class ProfilerController
|
||||
'request' => $request,
|
||||
'templates' => $this->getTemplateManager()->getTemplates($profile),
|
||||
'is_ajax' => $request->isXmlHttpRequest(),
|
||||
'excluded_ajax_paths' => null,
|
||||
)), 200, array('Content-Type' => 'text/html'));
|
||||
}
|
||||
|
||||
|
@ -171,6 +171,7 @@
|
||||
requestCounter[0].className = className;
|
||||
};
|
||||
|
||||
{% if (excluded_ajax_paths is defined) %}
|
||||
var proxied = XMLHttpRequest.prototype.open;
|
||||
|
||||
XMLHttpRequest.prototype.open = function(method, url, async, user, pass) {
|
||||
@ -205,6 +206,7 @@
|
||||
|
||||
proxied.apply(this, Array.prototype.slice.call(arguments));
|
||||
};
|
||||
{% endif %}
|
||||
|
||||
return {
|
||||
hasClass: hasClass,
|
||||
|
Reference in New Issue
Block a user