Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Track down where alert is being fired from?

I'm mucking through the de-minified CKFinder source looking for where an alert is being fired. I forced files to be renamed on upload, and now it's reminding me each time a file is uploaded when it doesn't actually matter.

I've gone through and commented out each alert but it's still doing it. Refreshed cache also, and confirmed via Chrome Inspector. Is there any way to figure out what file/line this specific alert is coming from?

like image 757
Chords Avatar asked Feb 13 '13 02:02

Chords


1 Answers

Try to redefine alert, then put a breakpoint. or call console.trace

alert = function(mesg) {console.trace(mesg)}
like image 164
Pascal Belloncle Avatar answered Sep 27 '22 22:09

Pascal Belloncle