Hi all. It seems like I've seen something similar before, but I can't seem to find it. I am wanting to show a default "Loading…" message/icon when a Request occurs. In a previous project several years ago, I (re-)implemented the methods necessary in Request to add the loader to every request. It seems like there should be an easier way. David has done some similar functionality here (http://davidwalsh.name/dwrequest-mootools-12-ajax-listener-message), but I don't want to call a custom class, I just want to use the base Request(.HTML/.JSON) class with this added functionality.
I tried overwriting the main request class, but the onRequest and onComplete methods never seem to get called. http://jsfiddle.net/philthathril/kpAUC/ What is the proper way to accomplish this? Is there already a solution out there that I just can't find? Thanks in advance, ~Philip -- http://lonestarlightandsound.com/
