brennie got a fish trophy!
Set the correct root URL in RB.TextBasedReviewableView
Review Request #10701 — Created Sept. 7, 2019 and submitted
The
RB.TextBasedReviewableView
was using an incorrect root path
Instead of just being the path relative to the FQDN, it was using the
entire URL. This resulted in Backbone never matching URLs since it was
trying to match fragments against full URLs. The view would then be
stuck in the rendered view mode at all times.
Verified that the TextBasedReviewableView can switch between rendered
and source modes on Python 2.7, 3.5, 3.6, and 3.7.
Summary | ID | Author |
---|---|---|
f9faaaa2f8144b6c7f4f43ea4b9ed8bd6d53ee19 | Barret Rennie |
Description | From | Last Updated |
---|---|---|
Good opportunity to add a unit test :) |
chipx86 | |
Can you pull the this.model.get('fileAttachmentID') out into its own variable? I don't mind template literals but they're a lot easier … |
chipx86 | |
Col: 67 Missing semicolon. |
reviewbot | |
Col: 42 Missing semicolon. |
reviewbot | |
Col: 67 Missing semicolon. |
reviewbot | |
Col: 42 Missing semicolon. |
reviewbot | |
Just one blank line here. |
chipx86 |
- Change Summary:
-
more tests
- Commits:
-
Summary ID Author 91e4b8a0a1eeaaed33174af8acca2993a034495e Barret Rennie de8ef0c32dfc2a996bdb53dd7dddf541340ea9c5 Barret Rennie
Checks run (2 succeeded)
- Commits:
-
Summary ID Author de8ef0c32dfc2a996bdb53dd7dddf541340ea9c5 Barret Rennie 7c8dade28968911259e28feec919e0e38b1b8818 Barret Rennie
- Commits:
-
Summary ID Author 7c8dade28968911259e28feec919e0e38b1b8818 Barret Rennie ab65dbf76fbecc62c5fef6849eccd3eeb81f94fd Barret Rennie