Author: truong.le
Date: 2009-12-22 23:48:24 -0500 (Tue, 22 Dec 2009)
New Revision: 1135
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UITabbedDashboard.js
Log:
GTNPORTAL-375: Exception in console & error in displaying current gadget after added
new tab with special characters
Modified:
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UITabbedDashboard.js
===================================================================
---
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UITabbedDashboard.js 2009-12-22
20:55:58 UTC (rev 1134)
+++
portal/trunk/web/eXoResources/src/main/webapp/javascript/eXo/webui/UITabbedDashboard.js 2009-12-23
04:48:24 UTC (rev 1135)
@@ -106,7 +106,7 @@
href += "&portal:isSecure=false";
href += "&uicomponent=UITabPaneDashboard";
href += "&op=AddDashboard";
- href += "&objectId=" + newTabLabel;
+ href += "&objectId=" + encodeURIComponent(newTabLabel);
eXo.webui.UITabbedDashboard.isInRequest = true;
window.location = href;
}