| Summary: | Fix Javascript for Opera browser | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | William Antônio <wsiqueir> |
| Component: | Portal | Assignee: | hfnukal <hfnukal> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.1.0.GA | CC: | krokodylowy3, theute, wsiqueir |
| Target Milestone: | --- | ||
| Target Release: | 5.2.0.ER06 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1310 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-02 16:47:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
William Antônio
2011-10-24 11:33:48 UTC
Help Desk Ticket Reference: Added: https://c.na7.visual.force.com/apex/Case_View?id=500A0000008SqGW Steps to Reproduce: Added: Access EPP home page with Opera browser. Workaround Description: Added: An user after modify {profile}/deploy/gatein.ear/01eXoResources.war/javascript/eXo/core/Browser.js file could have it working. Workaround: Added: Workaround Exists The same issue is described in this GateIn JIRA: https://issues.jboss.org/browse/GTNPORTAL-1001 Steps to Reproduce: Removed: Access EPP home page with Opera browser. Added: Access EPP home page with Opera browser and try to Sign In.
Workaround Description: Removed: An user after modify {profile}/deploy/gatein.ear/01eXoResources.war/javascript/eXo/core/Browser.js file could have it working. Added: An user after modify {profile}/deploy/gatein.ear/01eXoResources.war/javascript/eXo/core/Browser.js file could have it working. Here is the patch for the changes:
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 ; }
} ;
Link: Added: This issue is related to GTNPORTAL-1001 Release Notes Docs Status: Added: Not Yet Documented Prioryt is too low. Black screen and error occurs if js code trying to create transparen mask with eXo.core.UIMaskLayer.createTransparentMask() method - modal popups, some submits etc. Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue Release Notes Text: Added: If the Opera browser is used to access the portal home page, a Javascript Uncaught exception is raised: "TypeError: 'Browser.setOpacity' is not a function". The fix incorporates a verified customer-submitted patch to Browser.js, which allows Opera browsers to access the portal home page. |