details:   https://code.openbravo.com/erp/devel/pi/rev/5d52d838f233
changeset: 16049:5d52d838f233
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Wed Apr 11 12:38:56 2012 +0200
summary:   Fixed issue 20234: 'Print' now works ok using Google Chrome 18.x.x.x

diffstat:

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

diffs (46 lines):

diff -r 10ddce67111f -r 5d52d838f233 
src/org/openbravo/erpCommon/security/Login.html
--- a/src/org/openbravo/erpCommon/security/Login.html   Wed Apr 11 12:36:32 
2012 +0200
+++ b/src/org/openbravo/erpCommon/security/Login.html   Wed Apr 11 12:38:56 
2012 +0200
@@ -391,7 +391,7 @@
     }
     catch (e) { }
 
-    if ((!revisionControl('15747')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('16049')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       maskLoginWindow(cacheMsg);
       setLoginMessage('Warning', '', cacheMsg);
     }
diff -r 10ddce67111f -r 5d52d838f233 
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html        Wed Apr 11 
12:36:32 2012 +0200
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html        Wed Apr 11 
12:38:56 2012 +0200
@@ -126,7 +126,7 @@
       clearForm();
     } catch (e) {}
     setWindowElementFocus('firstElement');
-    if ((!revisionControl('15747')) || (isOpsInstance() != 
isOpsInstanceCached())) {
+    if ((!revisionControl('16049')) || (isOpsInstance() != 
isOpsInstanceCached())) {
       alert(cacheMsg);
     }
 
diff -r 10ddce67111f -r 5d52d838f233 web/js/utils.js
--- a/web/js/utils.js   Wed Apr 11 12:36:32 2012 +0200
+++ b/web/js/utils.js   Wed Apr 11 12:38:56 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 = '15747';
+  var number = '16049';
   return number;
 }
 
@@ -5438,7 +5438,8 @@
 
 function closePage(okEvent) {
   if (isWindowInMDIPopup) {
-    
getFrame('LayoutMDI').OB.Layout.ClassicOBCompatibility.Popup.close(MDIPopupId, 
!okEvent);
+    // Timeout is set in order to fix issue 
https://issues.openbravo.com/view.php?id=20234
+    setTimeout(function() { 
getFrame('LayoutMDI').OB.Layout.ClassicOBCompatibility.Popup.close(MDIPopupId, 
!okEvent); }, 10);
   } else if (isWindowInMDITab) {
   } else {
     top.window.close();

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to