Fix parent object loading when calling ready() on object chains with new models.
Review Request #3989 — Created March 22, 2013 and submitted
Information | |
---|---|
david | |
Review Board | |
master | |
Reviewers | |
reviewboard | |
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