Modify ↓
Opened 14 years ago
Closed 14 years ago
#8567 closed defect (fixed)
javascript error when deleting test plans
Reported by: | Michael Ching | Owned by: | Roberto Longobardi |
---|---|---|---|
Priority: | normal | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
When attempting to remove a Test Plan, clicking the X button results in no action and the javascript console showing: "function _ is not defined".
It appears that _("...") style quoting is being used in the testmanager.js file in a few places.
I am not familiar enough with javascript to know if this is supposed to work (I assume it is meant to be for localization?), but adding a dummy function declaration to the top of the .js file fixed this for me:
function _(str) { return str }
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Hi, thanks for reporting this.
Actually the code should work on both 0.12 (with internationalization support) and 0.11, but of course I missed something here :-)
I'll deliver the fix asap, probably next week.
Ciao, Roberto