details:   /erp/devel/pi/rev/41394a20bc95
changeset: 6503:41394a20bc95
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Fri Feb 26 01:02:11 2010 +0100
summary:   Related to issue 12479: Now Role.html has relative references

diffstat:

 src/org/openbravo/erpCommon/ad_forms/Role.html |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (44 lines):

diff -r 54a5031f082a -r 41394a20bc95 
src/org/openbravo/erpCommon/ad_forms/Role.html
--- a/src/org/openbravo/erpCommon/ad_forms/Role.html    Fri Feb 26 00:41:27 
2010 +0100
+++ b/src/org/openbravo/erpCommon/ad_forms/Role.html    Fri Feb 26 01:02:11 
2010 +0100
@@ -73,12 +73,12 @@
   document.frmMain.warehouse.value = document.frmInput.inputWarehouse.value;   
    
 
   if (document.frmInput.saveok.value == "true") {
-       window.opener.top.document.location.href="../security/Menu.html";
+    getFrame('main').document.location.href="../security/Menu.html";
   }
     // Refresh menu
-//    opener.top.document.getElementById("paramFrameMenu").src = 
"../utility/VerticalMenu.html";
+//    getFrame('main').document.getElementById("paramFrameMenu").src = 
"../utility/VerticalMenu.html";
     // Refresh main window
-//    opener.top.document.getElementById("paramFrame1").src = 
"../utility/Home.html";
+//    getFrame('main').document.getElementById("paramFrame1").src = 
"../utility/Home.html";
 //  }
 
 }
@@ -99,12 +99,12 @@
 }
 function saveOptions() {
   if (document.frmMain.TextDirection.value=="RTL") {
-    window.opener.top.isRTL=true;
+    getFrame('main').isRTL=true;
   } else {
-    window.opener.top.isRTL=false;
+    getFrame('main').isRTL=false;
   }
   submitCommandForm("SAVE", false);
-  window.opener.setMenuLoading(true);
+  getFrame('frameMenu').setMenuLoading(true);
   return false;
 }
 </script>
@@ -173,7 +173,7 @@
        <script language="JavaScript" type="text/javascript">
        function onLoadDo(){
     if 
(document.getElementById('messageBoxID').className.indexOf('MessageBoxError') 
!= -1) {
-      window.opener.setMenuLoading(false);
+      getFrame('frameMenu').setMenuLoading(false);
     }
                this.windowTables = new Array(
                  new windowTableId('clientIndex'),

------------------------------------------------------------------------------
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