Modify ↓
Opened 11 years ago
Last modified 11 years ago
#11475 new defect
Javascript error when adding sub categories
Reported by: | anonymous | Owned by: | Roberto Longobardi |
---|---|---|---|
Priority: | normal | Component: | TestManagerForTracPlugin |
Severity: | normal | Keywords: | javascript error |
Cc: | Trac Release: | 1.2 |
Description (last modified by )
Here is the patch I had to do for this plugin to work in Google Chrome browser.
In /usr/share/trac/myproject/plugins/TestManager-1.7.3-py2.7.egg
I opened it with Archive manager (GUI) and edited /usr/share/trac/myproject/plugins/TestManager-1.7.3-py2.7.egg/htdocs/js/testmanager.js
.
I had to replace $("input[@name='
with $("input[name='
removing the @ symbol to avoid a jquery error. This was done in about 2-3 places in this js file.
After that the plugin works fine in Chrome without any js errors.
Attachments (0)
Change History (2)
comment:1 Changed 11 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 11 years ago by
Note: See
TracTickets for help on using
tickets.
Hi, thanks for reporting this error and for the patch, anyway I always use Chrome and didn't see any Javascript error related to this code.
Please, could you describe the failing scenario in more details?
Thanks, ciao. Roberto