Fix parent object loading when calling ready() on object chains with new models.
Review Request #3989 — Created March 22, 2013 and submitted
Fix parent object loading when calling ready() on object chains with new models. I've been running into an issue where parts of the javascript code create a review object, then create a comment. The hierarchy here goes RB.ReviewRequest -> RB.Review -> RB.<comment type>. Calling ready() on the comment will fail to load the ReviewRequest, which means that the Review won't have a valid url.
Ran js-tests
 
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: Ignored Files: reviewboard/static/rb/js/models/tests/baseResourceModelTests.js reviewboard/static/rb/js/models/baseResourceModel.js