Author: F.antonov
Date: 2007-03-21 10:58:14 -0400 (Wed, 21 Mar 2007)
New Revision: 111
Modified:
trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/browser_info.js
Log:
Fix for bug RFA-321.
Modified:
trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/browser_info.js
===================================================================
---
trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/browser_info.js 2007-03-21
12:45:20 UTC (rev 110)
+++
trunk/richfaces/common/src/main/resources/org/richfaces/renderkit/html/scripts/browser_info.js 2007-03-21
14:58:14 UTC (rev 111)
@@ -14,3 +14,9 @@
return "NETSCAPE";
return "OTHER";
}
+
+RichFaces.getOperaVersion = function () {
+ var index = navigator.userAgent.toLowerCase().indexOf("opera");
+ if (index == -1) return;
+ return parseFloat(navigator.userAgent.toLowerCase().substring(index+6));
+}
Show replies by date