[
https://issues.jboss.org/browse/GTNPORTAL-1001?page=com.atlassian.jira.pl...
]
Krashan Brahmanjara commented on GTNPORTAL-1001:
------------------------------------------------
Modify file
jboss-epp-5.1\jboss-as\server\default\deploy\gatein.ear\01eXoResources.war\javascript\eXo\core\Browser.js
with this patch
Browser.prototype.initOpera = function() {
this.browserType = "opera" ;
this.getBrowserHeight = function() {
return document.body.clientHeight ;
}
this.getBrowserWidth = function() {
return document.body.clientWidth ;
}
> this.eventListener = function(object, event, operation) {
object.addEventListener(event, operation, false) ; }
> this.setOpacity = function(component, value) { component.style.opacity = value/100 ;
}
> this.getEventSource = function(e) { return e.target ; }
} ;
GateIn+Opera: problem with script
---------------------------------
Key: GTNPORTAL-1001
URL:
https://issues.jboss.org/browse/GTNPORTAL-1001
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: User Interface
Affects Versions: 3.0.0-GA
Environment: Linux [Centos 5.4] Opera[version:10.10) Java [version 1.6.0_16]
Reporter: Benjamin Seyinbour
Original Estimate: 4 hours
Remaining Estimate: 4 hours
I keep getting the following error in Opera whenever I click a command button or link in
GateIn :
<localhost>
[Error:
name: TypeError
message: Statement on line 221: Type mismatch (usually non-object value supplied where
object required)
]
When this happens the top half of the screen turns black and I can't see GateIn .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira