Author: jaz
Date: Tue Dec 29 21:00:31 2009
New Revision: 894480

URL: http://svn.apache.org/viewvc?rev=894480&view=rev
Log:
found a few more bad error methods

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=894480&r1=894479&r2=894480&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Tue Dec 29 
21:00:31 2009
@@ -63,7 +63,7 @@
        if (!obj_target)
                return lookup_error("Error calling the field lookup: no target 
control specified");
        if (obj_target.value == null)
-               return cal_error("Error calling the field lookup: parameter 
specified is not valid target control");
+               return lookup_error("Error calling the field lookup: parameter 
specified is not valid target control");
     //this.target = obj_target;
     target = obj_target;
 
@@ -79,13 +79,13 @@
     if (!obj_target)
         return lookup_error("Error calling the field lookup: no target control 
specified");
     if (obj_target.value == null)
-        return cal_error("Error calling the field lookup: parameter specified 
is not valid target control");
+        return lookup_error("Error calling the field lookup: parameter 
specified is not valid target control");
     target = obj_target;
     // validate input parameters
     if (!obj_target2)
-        return lookup_error("Error calling the field lookup: no target control 
specified");
+        return lookup_error("Error calling the field lookup: no target2 
control specified");
     if (obj_target2.value == null)
-        return lookup_error("Error calling the field lookup: parameter 
specified is not valid target control");
+        return lookup_error("Error calling the field lookup: parameter 
specified is not valid target2 control");
     target2 = obj_target2;
 
 


Reply via email to