details:   /erp/devel/pi/rev/e4676aaa7be3
changeset: 8784:e4676aaa7be3
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Tue Nov 02 15:50:38 2010 +0100
summary:   Fixed smoke-test build while showing 'refresh cache' alert

diffstat:

 src/org/openbravo/erpCommon/security/Login_F1.html |  4 ++--
 web/js/utils.js                                    |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 8305c6c692b8 -r e4676aaa7be3 
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html        Tue Nov 02 
09:55:56 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html        Tue Nov 02 
15:50:38 2010 +0100
@@ -76,7 +76,7 @@
 }
 
 function redirectWhenInsideMDI() {
-  if (isWindowInMDIPage) {
+  if (typeof isWindowInMDIPage !== "undefined" && isWindowInMDIPage) {
     var LayoutMDI = getFrame('LayoutMDI');
     if (LayoutMDI && typeof parent.document.getElementById('framesetMenu') === 
"object") {
       LayoutMDI.location.href = parent.window.location.href;
@@ -121,7 +121,7 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('firstElement');
-    if ((!revisionControl('8778')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('8784')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       alert(cacheMsg);
     }
 
diff -r 8305c6c692b8 -r e4676aaa7be3 web/js/utils.js
--- a/web/js/utils.js   Tue Nov 02 09:55:56 2010 +0100
+++ b/web/js/utils.js   Tue Nov 02 15:50:38 2010 +0100
@@ -94,7 +94,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 = '8778';
+  var number = '8784';
   return number;
 }
 

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to