Ensure diff fragments are loaded for discarded and submitted reviews
Review Request #664 — Created Dec. 8, 2008 and submitted — Latest diff uploaded
|Review Board SVN (deprecated)|
Currently, diff fragments only get loaded for pending reviews; the "Loading diff fragment..." spinner just keeps on spinning if you look at a submitted or discarded review. This is because the diff_comments funcQueue never gets started because the start() call only gets output by the relevant template if the user has edit permissions AND the review is pending. This change moves the call to funcQueue.start() outside of these conditional blocks, so it works for any user and any review request status.
Tested on our local system with pending, submitted and discarded review requests.