Modify

Opened 8 months ago

Last modified 8 months ago

#11475 new defect

Javascript error when adding sub categories

Reported by: anonymous Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords: javascript error
Cc: Trac Release: 1.2

Description (last modified by rjollos)

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 8 months ago by rjollos

  • Description modified (diff)

comment:2 Changed 8 months ago by seccanj

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

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.