details: /erp/devel/pi/rev/7033c27bce27
changeset: 6522:7033c27bce27
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Fri Feb 26 18:08:12 2010 +0100
summary: Related to issue 12479: Now VerticalMenu*.html has relative
references
diffstat:
src/org/openbravo/erpCommon/utility/VerticalMenu.html | 11 ++++++++++-
src/org/openbravo/erpCommon/utility/VerticalMenuLoading.html | 11 ++++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
diffs (56 lines):
diff -r 390168483611 -r 7033c27bce27
src/org/openbravo/erpCommon/utility/VerticalMenu.html
--- a/src/org/openbravo/erpCommon/utility/VerticalMenu.html Fri Feb 26
17:40:06 2010 +0100
+++ b/src/org/openbravo/erpCommon/utility/VerticalMenu.html Fri Feb 26
18:08:12 2010 +0100
@@ -105,6 +105,15 @@
}
function onLoadDo() {
+ try {
+ if (parent.frameMenu) {
+ document.frmMenu.target = "_parent";
+ } else {
+ document.frmMenu.target = "_self";
+ }
+ } catch (e) {
+ document.frmMenu.target = "_self";
+ }
if (frames.name.indexOf('appFrame')!=-1) {
location.href="../utility/Home.html";
}
@@ -338,7 +347,7 @@
</tr>
</table>
- <form name="frmMenu" action="../security/Login_FS.html" method="post"
target="_top">
+ <form name="frmMenu" action="../security/Login_FS.html" method="post"
target="_self">
<input type="hidden" name="Command" /> <input type="hidden"
name="inpSelected" value="" />
</form>
</body>
diff -r 390168483611 -r 7033c27bce27
src/org/openbravo/erpCommon/utility/VerticalMenuLoading.html
--- a/src/org/openbravo/erpCommon/utility/VerticalMenuLoading.html Fri Feb
26 17:40:06 2010 +0100
+++ b/src/org/openbravo/erpCommon/utility/VerticalMenuLoading.html Fri Feb
26 18:08:12 2010 +0100
@@ -54,6 +54,15 @@
</script>
<script language="JavaScript" type="text/javascript">
function onLoadDo() {
+ try {
+ if (parent.frameMenu) {
+ document.frmMenu.target = "_parent";
+ } else {
+ document.frmMenu.target = "_self";
+ }
+ } catch (e) {
+ document.frmMenu.target = "_self";
+ }
resizeMenu();
}
@@ -208,7 +217,7 @@
</tr>
</table>
- <form name="frmMenu" action="../security/Login_FS.html" method="post"
target="_top">
+ <form name="frmMenu" action="../security/Login_FS.html" method="post"
target="_self">
<input type="hidden" name="Command" /> <input type="hidden"
name="inpSelected" value="" />
</form>
</body>
------------------------------------------------------------------------------
Download Intel® 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