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/06/07 17:28:33 UTC
svn commit: r952270 -
/ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
Author: jleroux
Date: Mon Jun 7 15:28:33 2010
New Revision: 952270
URL: http://svn.apache.org/viewvc?rev=952270&view=rev
Log:
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 + "')";
}
}
}