ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r1725217 - /ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/configproductdetail.ftl
Date Mon, 18 Jan 2016 10:33:26 GMT
Author: deepak
Date: Mon Jan 18 10:33:26 2016
New Revision: 1725217

URL: http://svn.apache.org/viewvc?rev=1725217&view=rev
Log:
Fixed stack trace on configproductdetail.ftl, Used correct method to get INSTRUCTIONS from
ProductConfigItemContentWrapper.

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=1725217&r1=1725216&r2=1725217&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:33:26 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")!>
+                <#assign instructions = question.content.get("INSTRUCTIONS", "string")!>
                 <#if instructions?has_content>
                   <a href="javascript:showErrorAlert("${uiLabelMap.CommonErrorMessage2}","${instructions}");"
class="buttontext">Instructions</a>
                 </#if>



Mime
View raw message