Review Board 1.7.22

Allow slow-to-init gadgets to safely rely on gadgets.util.registerOnLoadHandler

Review Request #1525 - Created Aug. 16, 2011 and submitted

Dan Dumont
If gadgets.util.registerOnLoadHandler was called after the runOnLoad counterpart was called, the callback would sit in the array... forever alone.

Review request changed
Updated (Aug. 17, 2011, 3:18 p.m.)
Added jira
Posted (Aug. 18, 2011, 1:41 a.m.)
I like this change, makes sense with your explanation.  What do you think Henry?
Ship it!
Posted (Aug. 18, 2011, 8:17 p.m.)
Thanks for the explanation Dan. LGTM. +1