From dd11ac1b1ad5ea6323bfdc1ba8ec22a19173b97f Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Mon, 3 May 2010 09:10:49 +0000 Subject: [PATCH] A patch from Ankit Jain "Allow to open a layer lookup from a layer lookup" https://issues.apache.org/jira/browse/OFBIZ-3446 - OFBIZ-3446 Uncomment the line to return the name in the calling screen I have also added groupName in the name returned (when looking for partyGroup) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@940401 13f79535-47bb-0310-9956-ffa450edef68 --- .../example/widget/example/FormWidgetExampleLookupForms.xml | 2 +- framework/images/webapp/images/fieldlookup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/example/widget/example/FormWidgetExampleLookupForms.xml b/framework/example/widget/example/FormWidgetExampleLookupForms.xml index 030a313682..7f2b48d564 100644 --- a/framework/example/widget/example/FormWidgetExampleLookupForms.xml +++ b/framework/example/widget/example/FormWidgetExampleLookupForms.xml @@ -85,7 +85,7 @@ under the License. - + diff --git a/framework/images/webapp/images/fieldlookup.js b/framework/images/webapp/images/fieldlookup.js index c8d81bfa67..045c8a5fef 100644 --- a/framework/images/webapp/images/fieldlookup.js +++ b/framework/images/webapp/images/fieldlookup.js @@ -739,7 +739,7 @@ function set_value (value) { } // function passing selected value to calling window function set_values (value, value2) { - /*obj_caller.target = $(GLOBAL_LOOKUP_REF.getReference(ACTIVATED_LOOKUP).parentTarget.id);*/ + obj_caller.target = $(GLOBAL_LOOKUP_REF.getReference(ACTIVATED_LOOKUP).parentTarget.id); var target = obj_caller.target; var target2 = obj_caller.target2; write_value(value, target);