Author: jonesde
Date: Thu May 20 11:27:16 2010
New Revision: 946593
URL:
http://svn.apache.org/viewvc?rev=946593&view=revLog:
Small change so that the lookup->target-parameter attribute is supported when also using the lookup->description-field-name
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=946593&r1=946592&r2=946593&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Thu May 20 11:27:16 2010
@@ -73,7 +73,7 @@ function call_fieldlookup2(target, viewN
}
function call_fieldlookup3(target, target2, viewName) {
- var fieldLookup = new fieldLookup2(target, target2);
+ var fieldLookup = new fieldLookup2(target, target2, arguments);
fieldLookup.popup2(viewName);
}
@@ -95,7 +95,8 @@ function fieldLookup1(obj_target, args)
//this.id = lookups.length;
//lookups[this.id] = this;
}
-function fieldLookup2(obj_target, obj_target2) {
+function fieldLookup2(obj_target, obj_target2, args) {
+ this.args = args;
// passing methods
this.popup = lookup_popup1;
this.popup2 = lookup_popup2;