Reverts r1728959 because of misc. issues with the patch, see my comment at https://issues.apache.org/jira/browse/OFBIZ-6884

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1728961 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2016-02-07 13:59:41 +00:00
parent 3a5cc393cf
commit c19af8a60b
9 changed files with 26 additions and 26 deletions
@@ -69,8 +69,8 @@ under the License.
require
/><#t/>
<#if ajaxEnabled?has_content && ajaxEnabled>
<#assign defaultMinLength = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultMinLength")>
<#assign defaultDelay = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultDelay")>
<#assign defaultMinLength = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultMinLength")>
<#assign defaultDelay = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultDelay")>
<script language="JavaScript" type="text/javascript">ajaxAutoCompleter('${ajaxUrl}', false, ${defaultMinLength!2}, ${defaultDelay!300});</script><#lt/>
</#if>
</#macro>
@@ -640,7 +640,7 @@ Parameter: tabindex, String, optional - HTML tabindex number.
<#local ajaxUrl = id + "," + ajaxUrl + ",ajaxLookup=Y" />
</#if>
<#if (!showDescription?has_content)>
<#local showDescriptionProp = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.lookup.showDescription", "N")>
<#local showDescriptionProp = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.lookup.showDescription", "N")>
<#if "Y" == showDescriptionProp>
<#local showDescription = "true" />
<#else>
@@ -648,13 +648,13 @@ Parameter: tabindex, String, optional - HTML tabindex number.
</#if>
</#if>
<#if (!position?has_content)>
<#local position = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.lookup.position", "topleft")>
<#local position = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.lookup.position", "topleft")>
</#if>
<#if (!width?has_content)>
<#local width = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.lookup.width", "620")>
<#local width = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.lookup.width", "620")>
</#if>
<#if (!height?has_content)>
<#local height = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.lookup.height", "500")>
<#local height = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.lookup.height", "500")>
</#if>
<#if ajaxEnabled?has_content && ajaxEnabled>
<script type="text/javascript">
@@ -691,8 +691,8 @@ Parameter: tabindex, String, optional - HTML tabindex number.
);"></a><#rt>
<#else>
<#if ajaxEnabled?has_content && ajaxEnabled>
<#assign defaultMinLength = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultMinLength")>
<#assign defaultDelay = Static["org.ofbiz.entity.util.EntityUtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultDelay")>
<#assign defaultMinLength = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultMinLength")>
<#assign defaultDelay = Static["org.ofbiz.base.util.UtilProperties"].getPropertyValue("widget.properties", "widget.autocompleter.defaultDelay")>
<#local ajaxUrl = ajaxUrl + "&amp;_LAST_VIEW_NAME_=" + lastViewName />
<#if !ajaxUrl?contains("searchValueFieldName=")>
<#if descriptionFieldName?has_content && showDescription == "true">