Author: jaz
Date: Fri Nov 5 16:13:00 2010
New Revision: 1031655
URL:
http://svn.apache.org/viewvc?rev=1031655&view=revLog:
small change to call the onchange event when updating the autocomplete fields after the description is set
Modified:
ofbiz/trunk/framework/images/webapp/images/selectall.js
Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=1031655&r1=1031654&r2=1031655&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Fri Nov 5 16:13:00 2010
@@ -410,6 +410,12 @@ function setLookDescription(textFieldId,
tooltipElement.update(description);
lookupWrapperEl.appendChild(tooltipElement);
}
+
+ // after the description is set; the text field may have been updated
+ // just in case, call onchange again
+ if ($(textFieldId).onchange != null) {
+ $(textFieldId).onchange();
+ }
}
/** Enable auto-completion for drop-down elements.