svn commit: r1535573 - /ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1535573 - /ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy

jleroux@apache.org
Author: jleroux
Date: Thu Oct 24 22:00:45 2013
New Revision: 1535573

URL: http://svn.apache.org/r1535573
Log:
No functional change, just an updated comment

Modified:
    ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy

Modified: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy?rev=1535573&r1=1535572&r2=1535573&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy (original)
+++ ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/FindAutocompleteOptions.groovy Thu Oct 24 22:00:45 2013
@@ -76,7 +76,7 @@ if (searchFields && fieldValue) {
 }
 
 /* the following is part of an attempt to handle additional parameters that are passed in from other form fields at run-time,
- * but that is not supported by the scrip.aculo.us Ajax.Autocompleter, but this is still useful to pass parameters from the
+ * but that is not supported by the Jquery Autocompleter, but this is still useful to pass parameters from the
  * lookup screen definition:
  */
 def conditionFields = context.conditionFields;
@@ -102,9 +102,9 @@ if (orExprs && entityName && displayFiel
     if (context.andCondition && context.andCondition instanceof EntityCondition) {
         mainAndConds.add(context.andCondition);
     }
-    
-    def entityConditionList = EntityCondition.makeCondition(mainAndConds, EntityOperator.AND);    
-    
+
+    def entityConditionList = EntityCondition.makeCondition(mainAndConds, EntityOperator.AND);
+
     String viewSizeStr = context.autocompleterViewSize;
     if (viewSizeStr == null) {
         viewSizeStr = UtilProperties.getPropertyValue("widget", "widget.autocompleter.defaultViewSize");
@@ -113,7 +113,7 @@ if (orExprs && entityName && displayFiel
     EntityFindOptions findOptions = new EntityFindOptions();
     findOptions.setMaxRows(autocompleterViewSize);
     findOptions.setDistinct(searchDistinct);
-    
+
     autocompleteOptions = delegator.findList(entityName, entityConditionList, displayFieldsSet, StringUtil.toList(displayFields), findOptions, false);
     if (autocompleteOptions) {
         context.autocompleteOptions = autocompleteOptions;