Related to issue 11979: Changed alert order
authorDavid Baz Fayos <david.baz@openbravo.com>
Wed, 17 Feb 2010 01:40:02 +0100
changeset 6454 bcf6fd2138cf
parent 6453 ab0bf0e61a2b
child 6455 075a157e924f
Related to issue 11979: Changed alert order
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html	Wed Feb 17 00:50:20 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html	Wed Feb 17 01:40:02 2010 +0100
@@ -78,13 +78,13 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('firstElement');
+    if ((!revisionControl('6440')) || (isOpsInstance() != isOpsInstanceCached())) {
+      alert("Your browser's cache has outdated files. Please clean it and reload the page.");
+    }
+
     if (!checkBrowserCompatibility()) {
       alert("Your browser \"" +  getBrowserInfo("nameAndVersion") + "\" is not officially supported.\n\nOpenbravo has not been tested on your browser.\n\nYou can continue at your own risk or use one of these supported browsers:\n * Mozilla Firefox 3.0 or higher\n * Microsoft Internet Explorer 7.0 or higher");
     }
-
-    if ((!revisionControl('6440')) || (isOpsInstance() != isOpsInstanceCached())) {
-      alert("Your browser's cache has outdated files. Please clean it and reload the page.");
-    }
   }
 
   function onResizeDo() {