Author: jleroux
Date: Mon Jun 7 15:28:33 2010
New Revision: 952270
URL:
http://svn.apache.org/viewvc?rev=952270&view=revLog:
Generalize to set_values and _multivalues. BTW I found some issues related to OFBIZ-3746, I will reopen
Modified:
ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
Modified: ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js?rev=952270&r1=952269&r2=952270&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Mon Jun 7 15:28:33 2010
@@ -785,10 +785,10 @@ function modifySubmitButton (lookupDiv)
if (cellElement.tagName == 'A') {
var link = cellElement.href;
var liSub = link.substring(link.lastIndexOf('/')+1,(link.length));
- if (liSub.contains("javascript:set_value(")) {
+ if (liSub.contains("javascript:set_")) {
cellElement.href = liSub;
} else {
- cellElement.href = 'javascript:lookupAjaxRequest("' + liSub + '")';
+ cellElement.href = "javascript:lookupAjaxRequest('" + liSub + "')";
}
}
}