Opened 10 years ago
Last modified 10 years ago
#11475 new defect
Javascript error when adding sub categories — at Version 1
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.
Note: See
TracTickets for help on using
tickets.