details:   /erp/devel/pi/rev/dbfebf69b437
changeset: 6513:dbfebf69b437
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Fri Feb 26 12:55:55 2010 +0100
summary:   Related to issue 12479: Now Login_*.html has relative references

diffstat:

 src/org/openbravo/erpCommon/security/Login_F1.html     |  4 ++--
 src/org/openbravo/erpCommon/security/Login_FS.html     |  4 ++--
 src/org/openbravo/erpCommon/security/Login_FS_RTL.html |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (59 lines):

diff -r 7e4fbf963810 -r dbfebf69b437 
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html        Fri Feb 26 
12:41:50 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html        Fri Feb 26 
12:55:55 2010 +0100
@@ -52,13 +52,13 @@
 function redirectWhenPopup() {
   var permission = false;
   try {
-    if (top.opener.top.frames['appFrame']) {
+    if (top.opener.parent.frames['appFrame']) {
       permission = true;
     }
   }
   catch (e) {}
   if (top.opener && permission) {
-    top.opener.top.location.href = top.document.location.href;
+    top.opener.parent.location.href = top.document.location.href;
     top.window.close();
   }
 }
diff -r 7e4fbf963810 -r dbfebf69b437 
src/org/openbravo/erpCommon/security/Login_FS.html
--- a/src/org/openbravo/erpCommon/security/Login_FS.html        Fri Feb 26 
12:41:50 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_FS.html        Fri Feb 26 
12:55:55 2010 +0100
@@ -29,14 +29,14 @@
 <script language="JavaScript" type="text/javascript">
   function onMenuFocusDo() {
     try {
-      top.frames['frameMenu'].onFocusMenu();
+      parent.frames['frameMenu'].onFocusMenu();
       return true;
     } catch (e) {
     }
   }
   function onMenuBlurDo() {
     try {
-      top.frames['frameMenu'].onBlurMenu();
+      parent.frames['frameMenu'].onBlurMenu();
       return true;
     } catch (e) {
     }
diff -r 7e4fbf963810 -r dbfebf69b437 
src/org/openbravo/erpCommon/security/Login_FS_RTL.html
--- a/src/org/openbravo/erpCommon/security/Login_FS_RTL.html    Fri Feb 26 
12:41:50 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_FS_RTL.html    Fri Feb 26 
12:55:55 2010 +0100
@@ -29,14 +29,14 @@
 <script language="JavaScript" type="text/javascript">
   function onMenuFocusDo() {
     try {
-      top.frames['frameMenu'].onFocusMenu();
+      parent.frames['frameMenu'].onFocusMenu();
       return true;
     } catch (e) {
     }
   }
   function onMenuBlurDo() {
     try {
-      top.frames['frameMenu'].onBlurMenu();
+      parent.frames['frameMenu'].onBlurMenu();
       return true;
     } catch (e) {
     }

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to