unemployment — 2011-04-15T09:17:26-04:00 — #1
I don't understand this code.
this.onclose_func = func;
tacodomains — 2011-04-15T13:38:02-04:00 — #2
Looks to me like it is taking a reference to a function as a parameter and then setting the this.onclose_func function to that function. What this probably means is the onclose function of object "this" is being overwritten such that when the onclose event is triggered it calls your reference function rather than the standard one.
That's what I'm assuming but would need to do a little research to confirm.