Author: jleroux
Date: Mon May 14 09:15:10 2012
New Revision: 1338101
URL:
http://svn.apache.org/viewvc?rev=1338101&view=revLog:
Complete r1338065, the same message existed in fieldlookup.js
Also no needs to i18n such error messages, I removed the //TODO
Modified:
ofbiz/trunk/framework/images/webapp/images/fieldlookup.js
ofbiz/trunk/framework/images/webapp/images/selectall.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=1338101&r1=1338100&r2=1338101&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/fieldlookup.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/fieldlookup.js Mon May 14 09:15:10 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/trunk/framework/images/webapp/images/selectall.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=1338101&r1=1338100&r2=1338101&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Mon May 14 09:15:10 2012
@@ -444,7 +444,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);
}