details:   /erp/devel/pi/rev/4d1b14a5f16f
changeset: 11564:4d1b14a5f16f
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Mon Apr 11 14:39:35 2011 +0200
summary:   Fixed issue 16742: Classic calendars now works ok in Chrome

diffstat:

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

diffs (47 lines):

diff -r 44e3587f19ba -r 4d1b14a5f16f 
src/org/openbravo/erpCommon/security/Login.html
--- a/src/org/openbravo/erpCommon/security/Login.html   Mon Apr 11 14:37:34 
2011 +0200
+++ b/src/org/openbravo/erpCommon/security/Login.html   Mon Apr 11 14:39:35 
2011 +0200
@@ -373,7 +373,7 @@
     }
     catch (e) { }
 
-    if ((!revisionControl('10984')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('11564')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       maskLoginWindow(cacheMsg);
       setLoginMessage('Warning', '', cacheMsg);
     }
diff -r 44e3587f19ba -r 4d1b14a5f16f 
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html        Mon Apr 11 
14:37:34 2011 +0200
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html        Mon Apr 11 
14:39:35 2011 +0200
@@ -126,7 +126,7 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('firstElement');
-    if ((!revisionControl('10984')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('11564')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       alert(cacheMsg);
     }
 
diff -r 44e3587f19ba -r 4d1b14a5f16f web/js/utils.js
--- a/web/js/utils.js   Mon Apr 11 14:37:34 2011 +0200
+++ b/web/js/utils.js   Mon Apr 11 14:39:35 2011 +0200
@@ -95,7 +95,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 = '10984';
+  var number = '11564';
   return number;
 }
 
@@ -4095,7 +4095,9 @@
 */
 // .
 function closeHandler(cal) {
-  if (typeof (cal.sel.onchange)!="undefined") cal.sel.onchange();
+  if (typeof (cal.sel.onchange) != "undefined" && cal.sel.onchange != null) {
+    cal.sel.onchange();
+  }
   cal.sel.focus();
   cal.hide();                        // hide the calendar
 //  cal.destroy();

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to