details:   https://code.openbravo.com/erp/stable/2.50/rev/e77200cbed9c
changeset: 9892:e77200cbed9c
user:      Carlos Aristu <carlos.aristu <at> openbravo.com>
date:      Wed Aug 29 12:49:23 2012 +0200
summary:   fixes issue 21483: Calendars do not dissappear in reports

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 dc596eb83c92 -r e77200cbed9c 
src/org/openbravo/erpCommon/security/Login.html
--- a/src/org/openbravo/erpCommon/security/Login.html   Mon Aug 27 09:31:15 
2012 +0000
+++ b/src/org/openbravo/erpCommon/security/Login.html   Wed Aug 29 12:49:23 
2012 +0200
@@ -252,7 +252,7 @@
     }
     catch (e) { }
 
-    if ((!revisionControl('9578')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('9892')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       maskLoginWindow(cacheMsg);
       setLoginMessage('Warning', '', cacheMsg);
     }
diff -r dc596eb83c92 -r e77200cbed9c 
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html        Mon Aug 27 
09:31:15 2012 +0000
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html        Wed Aug 29 
12:49:23 2012 +0200
@@ -126,7 +126,7 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('firstElement');
-    if ((!revisionControl('9578')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('9892')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       alert(cacheMsg);
     }
 
diff -r dc596eb83c92 -r e77200cbed9c web/js/utils.js
--- a/web/js/utils.js   Mon Aug 27 09:31:15 2012 +0000
+++ b/web/js/utils.js   Wed Aug 29 12:49:23 2012 +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 = '9578';
+  var number = '9892';
   return number;
 }
 
@@ -4112,7 +4112,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();

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to