Author: theute
Date: 2011-11-02 12:46:17 -0400 (Wed, 02 Nov 2011)
New Revision: 7939
Modified:
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/core/Browser.js
Log:
JBEPP-1310: Fix Javascript for Opera browser
Modified:
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/core/Browser.js
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/core/Browser.js 2011-11-02
16:42:51 UTC (rev 7938)
+++
epp/portal/branches/EPP_5_2_Branch/web/eXoResources/src/main/webapp/javascript/eXo/core/Browser.js 2011-11-02
16:46:17 UTC (rev 7939)
@@ -287,6 +287,15 @@
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 ;
+ }
} ;
Browser.prototype.isIE6 = function() {
Show replies by date