Modify ↓
Opened 18 months ago
Closed 18 months ago
#13753 closed defect (fixed)
blame.js is not added when blame view with an empty file
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | version control/browser | Version: | 1.0.20 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fixed |
||
| API Changes: | |||
| Internal Changes: | |||
Description
I noticed the following javascript error raises when blame view with an empty file.
09:44:43.906 Uncaught ReferenceError: enableBlame is not defined
<anonymous> https://trac.edgewall.org/browser/trunk/tracopt/__init__.py?annotate=blame&rev=8695:99
Attachments (0)
Change History (3)
comment:1 by , 18 months ago
| Milestone: | next-stable-1.6.x → 1.6.1 |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
comment:2 by , 18 months ago
| Version: | 1.6 → 1.0.20 |
|---|
The same issue occurs on Trac 1.0.x through 1.6.x.
comment:3 by , 18 months ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



I consider that handling the returned value of
IHTMLPreviewRenderer.render()is incorrect. I'll try to add unit tests for it…trac/mimeview/api.py
not result: