[richfaces-svn-commits] JBoss Rich Faces SVN: r13481 - trunk/ui/colorPicker/src/main/templates/org/richfaces.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Apr 9 20:02:23 EDT 2009


Author: artdaw
Date: 2009-04-09 20:02:23 -0400 (Thu, 09 Apr 2009)
New Revision: 13481

Modified:
   trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx
Log:
colorPicker: browser detection was fixed


Modified: trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx
===================================================================
--- trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx	2009-04-09 22:47:13 UTC (rev 13480)
+++ trunk/ui/colorPicker/src/main/templates/org/richfaces/htmlColorPicker.jspx	2009-04-10 00:02:23 UTC (rev 13481)
@@ -101,13 +101,8 @@
 </div>
 	<div style="display: none;" id="#{clientId}-colorPicker-script">
 	<script type="text/javascript">
-		
-		
-			if(navigator.appName == "Microsoft Internet Explorer" &amp;&amp; parseInt(navigator.appVersion) == 4 &amp;&amp; navigator.appVersion.indexOf("MSIE 6.0") != -1){
-				jQuery('div.rich-colorPicker-color').pngFix();
-			}
-	
-			<jsp:scriptlet><![CDATA[
+		jQuery('div.rich-colorPicker-color').pngFix();
+		<jsp:scriptlet><![CDATA[
 		Boolean flat = (Boolean) component.getAttributes().get("flat");
 		colorMode = (String) component.getAttributes().get("colorMode");
 		showEvent = (String) component.getAttributes().get("showEvent");




More information about the richfaces-svn-commits mailing list