You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2010/10/31 10:41:03 UTC

svn commit: r1029285 - /ofbiz/branches/jquery/framework/images/webapp/images/selectall.js

Author: jleroux
Date: Sun Oct 31 09:41:03 2010
New Revision: 1029285

URL: http://svn.apache.org/viewvc?rev=1029285&view=rev
Log:
Oops, I let a comment from a 1st implementation try

Modified:
    ofbiz/branches/jquery/framework/images/webapp/images/selectall.js

Modified: ofbiz/branches/jquery/framework/images/webapp/images/selectall.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/selectall.js?rev=1029285&r1=1029284&r2=1029285&view=diff
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/branches/jquery/framework/images/webapp/images/selectall.js Sun Oct 31 09:41:03 2010
@@ -438,7 +438,7 @@ function setLookDescription(textFieldId,
         if (start != -1) {
             description = description.substring(0, start);
             
-            // This sets a possible dependent field. It depends on the searchFields order which makes sense anyway
+            // This sets a (possibly hidden) dependent field if a description-field-name is provided  
             var dependentField = params.substring(params.indexOf("searchValueFieldName"));
             dependentField = jQuery("#" + formName + "_" + dependentField.substring(dependentField.indexOf("=") + 1));            
             var dependentFieldValue = description.substring(0, description.lastIndexOf(' '))