Trong Tran created GTNPORTAL-2491:
-------------------------------------
Summary: should use inline localization in script
Key: GTNPORTAL-2491
URL:
https://issues.jboss.org/browse/GTNPORTAL-2491
Project: GateIn Portal
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Trong Tran
Assignee: Vu Viet Phuong
Priority: Minor
Fix For: 3.4.0.Final
To avoid this usage in UIDashboard.gtmpl.
{code}
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.SaveTitle='" +
_ctx.appRes("UIDashboardContainer.label.SaveTitle") + "';");
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.CancelTitle='" +
_ctx.appRes("UIDashboardContainer.label.CancelTitle") + "';");
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.Cache='" +
_ctx.appRes("UIDashboardContainer.label.Cache") + "';");
jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.Debug='" +
_ctx.appRes("UIDashboardContainer.label.Debug") + "';");
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira