"Applied fix from plugins for revision: 1847398 "

------------------------------------------------------------------------
r1847398 | jleroux | 2018-11-25 09:40:23 +0100 (dim. 25 nov. 2018) | 15 lignes

Fixed: Instructions for Configurable PC don't work
(OFBIZ-10542)

This concerns only R16, R17 and the trunk. The "Instructions" button was not 
present in R13.

This kind of message shows:
Trunk:
<a href="javascript:showErrorAlert('The following errors occurred','');"
R16:
<a href="javascript:showErrorAlert(" the="" following="" errors="" occurred","")

The same exists for all configurable products, notably Gold Pizza

Thanks: Priya Sharma
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/branches/release17.12@1847400 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2018-11-25 08:41:49 +00:00
parent 183be07009
commit c841e9afc5
@@ -516,7 +516,7 @@ ${virtualJavaScript!}
<a name='#${question.getConfigItem().getString("configItemId")}'></a>
<div>${StringUtil.wrapString(question.description!)}</div>
<#assign instructions = question.content.get("INSTRUCTIONS", "html")!>
<#if instructions?has_content>
<#if instructions?has_content && instructions != "">
<a href="javascript:showErrorAlert('${uiLabelMap.CommonErrorMessage2}','${instructions}');"
class="btn btn-outline-secondary btn-sm">Instructions</a>
</#if>