related to bug 32995: force browser cache refresh
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 19 May 2016 11:15:28 +0200
changeset 29510 dbc2c8a0f505
parent 29509 924f6aec18ba
child 29549 a0e1933e5b81
related to bug 32995: force browser cache refresh
src/org/openbravo/erpCommon/security/Login.html
src/org/openbravo/erpCommon/security/Login_F1.html
web/js/utils.js
--- a/src/org/openbravo/erpCommon/security/Login.html	Thu May 19 11:10:41 2016 +0200
+++ b/src/org/openbravo/erpCommon/security/Login.html	Thu May 19 11:15:28 2016 +0200
@@ -440,7 +440,7 @@
     }
     catch (e) { }
 
-    if ((!revisionControl('28036')) || (isOpsInstance() != isOpsInstanceCached())) {
+    if ((!revisionControl('29468')) || (isOpsInstance() != isOpsInstanceCached())) {
       maskLoginWindow(cacheMsg);
       setLoginMessage('Warning', '', cacheMsg);
     }
--- a/src/org/openbravo/erpCommon/security/Login_F1.html	Thu May 19 11:10:41 2016 +0200
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html	Thu May 19 11:15:28 2016 +0200
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2015 Openbravo SLU 
+ * All portions are Copyright (C) 2001-2016 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -126,7 +126,7 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('firstElement');
-    if ((!revisionControl('28036')) || (isOpsInstance() != isOpsInstanceCached())) {
+    if ((!revisionControl('29468')) || (isOpsInstance() != isOpsInstanceCached())) {
       alert(cacheMsg);
     }
 
--- a/web/js/utils.js	Thu May 19 11:10:41 2016 +0200
+++ b/web/js/utils.js	Thu May 19 11:15:28 2016 +0200
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2001-2015 Openbravo SLU
+ * All portions are Copyright (C) 2001-2016 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -105,7 +105,7 @@
 * Return a number that would be checked at the Login screen to know if the file is cached with the correct version
 */
 function getCurrentRevision() {
-  var number = '28036';
+  var number = '29468';
   return number;
 }