Load extensions JS before page-specific code for reviewable pages.
Review Request #9193 — Created Sept. 13, 2017 and submitted
Review request fields and entries now support extension-provided view classes,
but the code that used them was parsing before the extension-provided JS was
loaded, making things fail. I've overridden the relevant blocks for the
view_diff.html
andreview_detail.html
templates, loading all the JS before
page-specific code.
Used this in conjunction with an extension-provided field view class.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+28 -5) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
-
-
reviewboard/templates/diffviewer/view_diff.html (Diff revision 2) Can you separate these with a blank line? Kinda blends in otherwise.
-
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+31 -5) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.