JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

'Magic JS' right after doctype breaks AngularJS $http promises. #93

Open ireksawicki opened 8 years ago

ireksawicki commented 8 years ago

Hi Joseph,

You've done some cool work with this module, however after hours of investigation I've found one very important Angular/JavaScript related issue.

I've found that something inside "magic JS, just ignore this!" script causes break of all AngularJS $http service callbacks (.then, .success etc. which are used in any AJAX call through this service). They're all silenced with either no success or any error. Roughly checking you may be manipulating XMLHttpRequest object in this script in some inappropriate way which may be the cause of this problem. Tested on latest Chrome & Firefox, I haven't checked other browsers.

best regards, Ireneusz Sawicki