Author: jleroux
Date: Mon May 14 09:21:13 2012
New Revision: 1338110

URL: http://svn.apache.org/viewvc?rev=1338110&view=rev
Log:
"Applied fix from trunk for revision: 1338101" 
------------------------------------------------------------------------
r1338101 | jleroux | 2012-05-14 11:15:10 +0200 (lun., 14 mai 2012) | 2 lines

Complete r1338065, the same message existed in fieldlookup.js
Also no needs to i18n such error messages, I removed the //TODO
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release11.04/   (props changed)
    ofbiz/branches/release11.04/framework/images/webapp/images/fieldlookup.js
    ofbiz/branches/release11.04/framework/images/webapp/images/selectall.js

Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1338101

Modified: 
ofbiz/branches/release11.04/framework/images/webapp/images/fieldlookup.js
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/images/webapp/images/fieldlookup.js?rev=1338110&r1=1338109&r2=1338110&view=diff
==============================================================================
--- ofbiz/branches/release11.04/framework/images/webapp/images/fieldlookup.js 
(original)
+++ ofbiz/branches/release11.04/framework/images/webapp/images/fieldlookup.js 
Mon May 14 09:21:13 2012
@@ -292,8 +292,9 @@ function ConstructLookup(requestUrl, inp
                     }
                 },
                 error: function(xhr, reason, exception) {
-                    //TODO ... need to localize the following error message.
-                    alert("An error occurred while communicating with the 
server:\n\n\nreason=" + reason + "\n\nexception=" + exception);
+                    if(exception != 'abort') {
+                        alert("An error occurred while communicating with the 
server:\n\n\nreason=" + reason + "\n\nexception=" + exception);
+                    }
                     location.reload(true);
                 },
             });

Modified: 
ofbiz/branches/release11.04/framework/images/webapp/images/selectall.js
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/images/webapp/images/selectall.js?rev=1338110&r1=1338109&r2=1338110&view=diff
==============================================================================
--- ofbiz/branches/release11.04/framework/images/webapp/images/selectall.js 
(original)
+++ ofbiz/branches/release11.04/framework/images/webapp/images/selectall.js Mon 
May 14 09:21:13 2012
@@ -449,7 +449,6 @@ function ajaxAutoCompleter(areaCsvString
                         }
                    },
                     error: function(xhr, reason, exception) {
-                        //TODO ... need to localize the following error 
message.
                         if(exception != 'abort') {
                             alert("An error occurred while communicating with 
the server:\n\n\nreason=" + reason + "\n\nexception=" + exception);
                         }


Reply via email to