svn commit: r1129036 - /ofbiz/trunk/framework/widget/config/widget.properties

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

svn commit: r1129036 - /ofbiz/trunk/framework/widget/config/widget.properties

jleroux@apache.org
Author: jleroux
Date: Mon May 30 08:02:48 2011
New Revision: 1129036

URL: http://svn.apache.org/viewvc?rev=1129036&view=rev
Log:
A patch from Leon "The absence of default delay value for ajaxAutoCompleter introduces html syntax error in client end" https://issues.apache.org/jira/browse/OFBIZ-4305

When I 1st wrote this I used delay instead of defaultDelay. I then changed the name but forgot to change in widget.properties file. I wanted to keep it commented out to have default value commented out (Convention over configuration) but it would be more complicated and anyway would not follow how it's done in widget.properties

Modified:
    ofbiz/trunk/framework/widget/config/widget.properties

Modified: ofbiz/trunk/framework/widget/config/widget.properties
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/config/widget.properties?rev=1129036&r1=1129035&r2=1129036&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/config/widget.properties (original)
+++ ofbiz/trunk/framework/widget/config/widget.properties Mon May 30 08:02:48 2011
@@ -34,7 +34,7 @@ widget.autocompleter.defaultViewSize=10
 widget.autocompleter.defaultMinLength=2
 
 # Default delay in milliseconds the Autocomplete waits after a keystroke to activate itself. A zero-delay makes sense for local data (more responsive), but can produce a lot of load for remote data, while being less responsive.
-#widget.autocompleter.delay=300
+widget.autocompleter.defaultDelay=300
 
 # Show/hide the ID field that is returned from ajax autocompleter
 widget.autocompleter.displayReturnField=Y