Author: tan_pham_dinh
Date: 2009-12-24 06:41:15 -0500 (Thu, 24 Dec 2009)
New Revision: 1143
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/core/UIMaskLayer.js
Log:
GTNPORTAL-415: Should show MaskLayer when showing MaskWorkspace
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 2009-12-24
11:30:23 UTC (rev 1142)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/core/UIMaskLayer.js 2009-12-24
11:41:15 UTC (rev 1143)
@@ -76,8 +76,8 @@
UIMaskLayer.prototype.removeTransparentMask = function() {
var mask = document.getElementById("TransparentMaskLayer");
if (mask) {
- mask.style.height = "0" ;
- mask.style.width = "0" ;
+ mask.style.height = "0px" ;
+ mask.style.width = "0px" ;
}
};
/**
@@ -126,8 +126,8 @@
maskLayer.className = "MaskLayer" ;
maskLayer.id = "MaskLayer" ;
maskLayer.maxZIndex = 4; //3 ;
- maskLayer.style.width = eXo.core.Browser.getBrowserWidth();
- maskLayer.style.height = eXo.core.Browser.getBrowserHeight();
+ maskLayer.style.width = eXo.core.Browser.getBrowserWidth() + "px";
+ maskLayer.style.height = eXo.core.Browser.getBrowserHeight() + "px";
maskLayer.style.top = "0px" ;
maskLayer.style.left = "0px" ;
maskLayer.style.zIndex = maskLayer.maxZIndex ;