Author: liem_nguyen
Date: 2010-02-03 21:19:23 -0500 (Wed, 03 Feb 2010)
New Revision: 1526
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/core/UIMaskLayer.js
Log:
GTNPORTAL-492 Error displaying MaskLayer when click restore down window (check undefined)
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/core/UIMaskLayer.js
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/core/UIMaskLayer.js 2010-02-03
16:06:54 UTC (rev 1525)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/core/UIMaskLayer.js 2010-02-04
02:19:23 UTC (rev 1526)
@@ -309,8 +309,10 @@
UIMaskLayer.prototype.resizeMaskLayer = function() {
var maskLayer = document.getElementById("MaskLayer");
- maskLayer.style.width = eXo.core.Browser.getBrowserWidth() + "px";
- maskLayer.style.height = eXo.core.Browser.getBrowserHeight() + "px";
+ if (maskLayer) {
+ maskLayer.style.width = eXo.core.Browser.getBrowserWidth() + "px";
+ maskLayer.style.height = eXo.core.Browser.getBrowserHeight() + "px";
+ }
};
eXo.core.UIMaskLayer = new UIMaskLayer() ;
Show replies by date