details:   /erp/devel/pi/rev/61c9e5a782b8
changeset: 6495:61c9e5a782b8
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Thu Feb 25 22:50:58 2010 +0100
summary:   Related to issue 12479: Now  appStatus.js has relative references

details:   /erp/devel/pi/rev/62d59b8bccd2
changeset: 6496:62d59b8bccd2
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Thu Feb 25 22:51:20 2010 +0100
summary:   Related to issue 12479: Now menuKeyboard.js has relative references

details:   /erp/devel/pi/rev/a941418a7769
changeset: 6497:a941418a7769
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Thu Feb 25 22:51:42 2010 +0100
summary:   Related to issue 12479: Now windowKeyboard.js has relative references

diffstat:

 web/js/appStatus.js      |  4 ++--
 web/js/menuKeyboard.js   |  6 +++---
 web/js/windowKeyboard.js |  2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r c74c3267b3d6 -r a941418a7769 web/js/appStatus.js
--- a/web/js/appStatus.js       Thu Feb 25 22:17:51 2010 +0100
+++ b/web/js/appStatus.js       Thu Feb 25 22:51:42 2010 +0100
@@ -331,8 +331,8 @@
     }
     document.getElementById('Processing_Container_Logo').style.display = 
(logo?"":"none");
   } else {
-    var frame_menu = top.frames['frameMenu'];
-    var frame_window = top.frames['appFrame'];
+    var frame_menu = getFrame('frameMenu');
+    var frame_window = getFrame('appFrame');
     var menu_code = 
frame_menu.document.getElementsByTagName('BODY')[0].innerHTML;
     var window_code = 
frame_window.document.getElementsByTagName('BODY')[0].innerHTML;
     isKeyboardLocked=value;
diff -r c74c3267b3d6 -r a941418a7769 web/js/menuKeyboard.js
--- a/web/js/menuKeyboard.js    Thu Feb 25 22:17:51 2010 +0100
+++ b/web/js/menuKeyboard.js    Thu Feb 25 22:51:42 2010 +0100
@@ -126,9 +126,9 @@
 function onFocusMenu() {
   isMenuFocused = true;
   try {
-    top.appFrame.disableDefaultAction();
-    top.appFrame.removeWindowElementFocus(top.appFrame.focusedWindowElement);
-    top.appFrame.removeTabFocus(top.appFrame.focusedTab);
+    parent.appFrame.disableDefaultAction();
+    
parent.appFrame.removeWindowElementFocus(parent.appFrame.focusedWindowElement);
+    parent.appFrame.removeTabFocus(parent.appFrame.focusedTab);
   } catch(e) {}
   putMenuElementFocus(focusedMenuElement);
 }
diff -r c74c3267b3d6 -r a941418a7769 web/js/windowKeyboard.js
--- a/web/js/windowKeyboard.js  Thu Feb 25 22:17:51 2010 +0100
+++ b/web/js/windowKeyboard.js  Thu Feb 25 22:51:42 2010 +0100
@@ -370,7 +370,7 @@
 function drawWindowElementFocus(obj) {
   drawnWindowElement = obj;
   try {
-    if (top.frames['frameMenu']) top.frames['frameMenu'].onBlurMenu();
+    if (parent.frames['frameMenu']) parent.frames['frameMenu'].onBlurMenu();
   } catch (e) {
   }
   try {

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