details:   /erp/devel/pi/rev/390168483611
changeset: 6521:390168483611
user:      David Baz Fayos <david.baz <at> openbravo.com>
date:      Fri Feb 26 17:40:06 2010 +0100
summary:   Related to issue 12479: Now Log.html has relative references

diffstat:

 src/org/openbravo/erpCommon/utility/Log.html |  21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r fbfa17b30b68 -r 390168483611 
src/org/openbravo/erpCommon/utility/Log.html
--- a/src/org/openbravo/erpCommon/utility/Log.html      Fri Feb 26 17:26:47 
2010 +0100
+++ b/src/org/openbravo/erpCommon/utility/Log.html      Fri Feb 26 17:40:06 
2010 +0100
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SL 
- * All portions are Copyright (C) 2001-2009 Openbravo SL 
+ * All portions are Copyright (C) 2001-2010 Openbravo SL 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -21,9 +21,24 @@
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Identification</title>
 <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" 
type="image/x-icon" />
+<script type="text/javascript">
+function onLoadDo() {
+  try {
+    if (parent.frameMenu) {
+      document.frmInforme.target = "_parent";
+    } else {
+      document.frmInforme.target = "_self";
+    }
+  } catch (e) {
+    document.frmInforme.target = "_self";
+  }
+
+  document.forms[0].submit();
+}
+</script>
 </head>
-<body onload="document.forms[0].submit();"  leftmargin="0" topmargin="0" 
marginwidth="0" marginheight="0">
-<form name="frmInforme" action="../security/Login_FS.html" method="post" 
target="_top">
+<body onload="onLoadDo();" leftmargin="0" topmargin="0" marginwidth="0" 
marginheight="0">
+<form name="frmInforme" action="../security/Login_FS.html" method="post" 
target="_self">
   <H2>The login form is being loaded. If it doesn't succeed, press the button 
     below.</H2>
   <br></br>

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