Defect #1655
Right Click Does not work in Opera
| Status: | Closed | Start: | 2008-07-16 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | Jean-Philippe Lang | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 0.8 | |||
| Affected version: | 0.7.3 |
Resolution: | Fixed |
|
Description
The right click feature on the page Issues does not work in Opera. No matter if alt+click, ctrl + click. no mouse-keyboard combination seems to activate the right click feature of redmine.
Associated revisions
Fixes context menu with Opera (#1655).
History
2008-07-16 14:41 - Michael Pirogov
Is your Opera java powered? What java, browser version, OS, etc you use?
2008-07-16 14:57 - Anke Maklo
Yes it has java. I've used the newest java version avaible right now. Firefox and IE also work fine.
2008-07-16 15:24 - Michael Pirogov
Dunno, I've Opera 9.51, build 2061, w/o JRE, x86_64.
Alt+LeftButton gives me a menu
2008-07-16 19:22 - Anke Maklo
I tried it with Version
9.51
Build
10081
Platform
Win32
OS
Windows XP
Java
Sun Java Runtime Environment version 1.6
XHTML+Language
Plugin not installed
didnt work
2008-07-16 20:21 - Jean-Philippe Lang
Did a test with a fresh opera 9.51.10081 on win32. Works fine.
Make sure you use ALT + LEFT click (right click behaviour can not be changed with opera).
2008-07-17 16:47 - Derek Montgomery
Also make sure you click AWAY from the link, not ON it... I had forgotten about that myself :P
2008-07-17 18:03 - Anke Maklo
I think the problem might have been caused with FastCGI. I'm running Redmine with FCGI and the menus simply won't popup with alt + left click while on redmine.org it works.
2008-07-20 14:51 - Philipp flip Führer
Anke Maklo wrote:
I think the problem might have been caused with FastCGI. I'm running Redmine with FCGI and the menus simply won't popup with alt + left click while on redmine.org it works.
I have the same problem. A right click on redmine.org works, but not with Firefox or Opera at my site.
so i've changed in context_menu.js:
if (Event.findElement(e, 'a') != document) { return; }
to:
if (Event.findElement(e, 'a') != undefined) { return; }
after this it's working.. in opera and firefox.
btw, you could also use: if (Event.element(e).tagName == 'A') { return; }