You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2016/01/18 11:35:56 UTC
svn commit: r1725218 -
/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
Author: deepak
Date: Mon Jan 18 10:35:55 2016
New Revision: 1725218
URL: http://svn.apache.org/viewvc?rev=1725218&view=rev
Log:
Use html encode type instead string to get the config instruction.
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl?rev=1725218&r1=1725217&r2=1725218&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl Mon Jan 18 10:35:55 2016
@@ -457,7 +457,7 @@ function getConfigDetails() {
<#if question.isFirst()>
<a name='#${question.getConfigItem().getString("configItemId")}'></a>
<div>${question.description!}</div>
- <#assign instructions = question.content.get("INSTRUCTIONS", "string")!>
+ <#assign instructions = question.content.get("INSTRUCTIONS", "html")!>
<#if instructions?has_content>
<a href="javascript:showErrorAlert("${uiLabelMap.CommonErrorMessage2}","${instructions}");" class="buttontext">Instructions</a>
</#if>
Re: svn commit: r1725218 -
/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproduct
detail.ftl
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Deepak!
Jacques
Le 18/01/2016 11:35, deepak@apache.org a écrit :
> Author: deepak
> Date: Mon Jan 18 10:35:55 2016
> New Revision: 1725218
>
> URL: http://svn.apache.org/viewvc?rev=1725218&view=rev
> Log:
> Use html encode type instead string to get the config instruction.
>
> Modified:
> ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
>
> Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl?rev=1725218&r1=1725217&r2=1725218&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl (original)
> +++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl Mon Jan 18 10:35:55 2016
> @@ -457,7 +457,7 @@ function getConfigDetails() {
> <#if question.isFirst()>
> <a name='#${question.getConfigItem().getString("configItemId")}'></a>
> <div>${question.description!}</div>
> - <#assign instructions = question.content.get("INSTRUCTIONS", "string")!>
> + <#assign instructions = question.content.get("INSTRUCTIONS", "html")!>
> <#if instructions?has_content>
> <a href="javascript:showErrorAlert("${uiLabelMap.CommonErrorMessage2}","${instructions}");" class="buttontext">Instructions</a>
> </#if>
>
>
>