svn commit: r1816706 - /ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1816706 - /ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js

jleroux@apache.org
Author: jleroux
Date: Thu Nov 30 10:53:13 2017
New Revision: 1816706

URL: http://svn.apache.org/viewvc?rev=1816706&view=rev
Log:
No functional change, better use console.error() here

Modified:
    ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js

Modified: ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js?rev=1816706&r1=1816705&r2=1816706&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common/webapp/common/js/util/setUserLocale.js Thu Nov 30 10:53:13 2017
@@ -25,7 +25,7 @@ $.ajax({
     data: "localeName=" + timezone,
     error: function(error) {
         if (error != "") {
-            console.log("Error while setting user locale: ", error);
+            console.error("Error while setting user locale: ", error);
         }
     }
 });