details: /erp/devel/pi/rev/27b33caf9328
changeset: 12919:27b33caf9328
user: David Baz Fayos <david.baz <at> openbravo.com>
date: Tue Jun 21 16:28:10 2011 +0200
summary: Updated recommended browsers list - part2
diffstat:
src/org/openbravo/erpCommon/security/Login.html | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (15 lines):
diff -r de468d5fff7a -r 27b33caf9328
src/org/openbravo/erpCommon/security/Login.html
--- a/src/org/openbravo/erpCommon/security/Login.html Tue Jun 21 13:32:26
2011 +0200
+++ b/src/org/openbravo/erpCommon/security/Login.html Tue Jun 21 16:28:10
2011 +0200
@@ -278,9 +278,8 @@
}
function browserVersionTrim(versionNum) {
- var dotPosition = versionNum.indexOf('.');
- if (dotPosition !== -1) {
- versionNum = versionNum.substring(0, dotPosition);
+ while ((versionNum.substring(versionNum.length-1, versionNum.length) ===
'0' && versionNum.indexOf('.') !== -1) ||
versionNum.substring(versionNum.length-1, versionNum.length) === '.') {
+ versionNum = versionNum.substring(0, versionNum.length-1);
}
return versionNum;
}
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits