details: /erp/devel/pi/rev/12a89786d7c7
changeset: 8790:12a89786d7c7
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Wed Nov 03 18:41:14 2010 +0100
summary: Added title to new MDI popups
diffstat:
src/org/openbravo/erpCommon/security/Login_F1.html | 2 +-
web/js/utils.js | 14 +++++++++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 3b9f9beef98a -r 12a89786d7c7
src/org/openbravo/erpCommon/security/Login_F1.html
--- a/src/org/openbravo/erpCommon/security/Login_F1.html Wed Nov 03
09:13:59 2010 +0100
+++ b/src/org/openbravo/erpCommon/security/Login_F1.html Wed Nov 03
18:41:14 2010 +0100
@@ -121,7 +121,7 @@
clearForm();
} catch (e) {}
setWindowElementFocus('firstElement');
- if ((!revisionControl('8785')) || (isOpsInstance() !=
isOpsInstanceCached())) {
+ if ((!revisionControl('8790')) || (isOpsInstance() !=
isOpsInstanceCached())) {
alert(cacheMsg);
}
diff -r 3b9f9beef98a -r 12a89786d7c7 web/js/utils.js
--- a/web/js/utils.js Wed Nov 03 09:13:59 2010 +0100
+++ b/web/js/utils.js Wed Nov 03 18:41:14 2010 +0100
@@ -94,7 +94,7 @@
* Return a number that would be checked at the Login screen to know if the
file is cached with the correct version
*/
function getCurrentRevision() {
- var number = '8785';
+ var number = '8790';
return number;
}
@@ -5404,6 +5404,18 @@
} else {
MDIPopupId = target.document.getElementById('MDIPopupContainer').name;
}
+
+ if (result === true &&
+ MDIPopupId !== null &&
+ document.title &&
+ getFrame('LayoutMDI').OB &&
+ getFrame('LayoutMDI').OB.Layout &&
+ getFrame('LayoutMDI').OB.Layout.ClassicOBCompatibility &&
+ getFrame('LayoutMDI').OB.Layout.ClassicOBCompatibility.Popup &&
+ getFrame('LayoutMDI').OB.Layout.ClassicOBCompatibility.Popup.setTitle) {
+
getFrame('LayoutMDI').OB.Layout.ClassicOBCompatibility.Popup.setTitle(MDIPopupId,
document.title);
+ }
+
return result;
}
------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware,
phishing sites, and compromised hosts - saving your company time,
money, and embarrassment. Learn More!
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits