Author: mwringe
Date: 2012-07-30 11:23:53 -0400 (Mon, 30 Jul 2012)
New Revision: 8806
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl
Log:
BZ-842369: Use the tabLabel instead of the inner html of the element when editing a
dashboard tab. The inner html will have special characters already escaped and will
display the escaped characters to be edited, instead of the actual label name.
Modified:
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl
===================================================================
---
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl 2012-07-30
11:52:06 UTC (rev 8805)
+++
epp/portal/branches/EPP_5_2_Branch/portlet/dashboard/src/main/webapp/groovy/dashboard/webui/component/UITabPaneDashboard.gtmpl 2012-07-30
15:23:53 UTC (rev 8806)
@@ -33,7 +33,7 @@
%>
<div class="UITab SelectedTab">
<%
- String ondblclick =
"eXo.webui.UITabbedDashboard.showEditLabelInput(this,\"" + param +
"\",this.innerHTML)";
+ String ondblclick =
"eXo.webui.UITabbedDashboard.showEditLabelInput(this,\"" + param +
"\",\"$tabLabel\")";
%>
<span ondblclick='$ondblclick'>$tabLabel</span>
<a href="<%= uicomponent.url("DeleteTab",param); %>"
class="CloseIcon" title="DEL"></a>