Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4911 closed defect (fixed)

JavaScript on some ticket form elements not working in Opera 9.10

Reported by: kontakt at meitzner dot net Owned by: Jonas Borgström
Priority: normal Milestone: 0.11
Component: general Version: devel
Severity: major Keywords: javascript
Cc: number5@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm using Opera v9.10 as my default and development Browser. When managing tickets with trac, I cannot set the resolution or reassign the ticket, because the greyed-out Form elements are not activated by Javascript. It works in Firefox though, so I hope it's not a bug in Opera… :-/

It'd be grand if you could fix that because it's a bit of a PITA switching between two resource-hogs :-)


Trac

Trac:0.11dev
Python:2.5 (release25-maint, Feb 16 2007, 18:42:37) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu1)]
SQLite:3.3.10
pysqlite:2.3.2
Genshi:0.4dev-r494
Pygments:0.6
Subversion:1.4.2

Opera

Version9.10
Build521
PlatformLinux
Systemx86_64, 2.6.16-xen
Qt library3.3.6
JavaJava Runtime Environment installed

Attachments (0)

Change History (10)

comment:1 by number5@…, 17 years ago

Cc: number5@… added

same on IE 6

Trac: 0.11dev-r5096

Python: 2.4.3 [GCC 3.4.4 [FreeBSD] 20050518]

Genshi: 0.4dev-r509

comment:2 by Christian Boos, 17 years ago

Keywords: javascript added

Verified with Opera 9.02 (Windows).

comment:3 by Christian Boos, 17 years ago

A workaround is to select resolve (or reassign) then click Preview. This will enable the corresponding control.

This can help while waiting for a fix…

comment:4 by Christian Boos, 17 years ago

Fixed by r5103. Before that, I tried with a more recent jQuery version, but it didn't help. I didn't find a bug report for that either, so I'm not exactly sure of the reason why the CSS style selector failed.

comment:5 by Christian Boos, 17 years ago

After some more testing, it seems that Opera returns an <input> element when queried for #action (even when using directly document.getElementById("action")). The HTML source contains only one element with that id, and that's the <fieldset id="action"> element which contains the different actions…

comment:6 by Matthew Good, 17 years ago

cboos: can this ticket be closed?

It does sound like this is an Opera bug though, so the OP should probably still report the issue to them.

comment:7 by number5@…, 17 years ago

verified on IE 6.

thanks!

comment:8 by Christian Boos, 17 years ago

Resolution: fixed
Status: newclosed

Yes, we can close it. It's a strange issue, though, so I wouldn't be surprised if that's not the final word about it ;-)

comment:9 by kontakt at meitzner dot net, 17 years ago

Filed as Opera bug #257542. I'm not an experienced bug reporter, hope I described everything correctly. Actually I posted a link to this Ticket for reference.

comment:10 by kontakt at meitzner dot net, 17 years ago

btw: patched my ticket_view.html with your changes and it works now. Thanks a lot!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.