Include parent template contents in jsconsts block.
Review Request #2020 — Created Dec. 29, 2010 and submitted — Latest diff uploaded
Include parent template contents in jsconsts block. Some pages were inheriting from reviewable_base.html and defined a jsconsts block without including {{block.super}} to pick up gUserURL. I'm not sure why this wasn't a problem before but it was causing various javascript errors on rbcommons.
reviewboard/templates/diffviewer/view_diff.html |
---|
reviewboard/templates/reviews/review_detail.html |
---|
reviewboard/templates/reviews/screenshot_detail.html |
---|