click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r956337 - /click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
Date Sun, 20 Jun 2010 09:21:41 GMT
Author: sabob
Date: Sun Jun 20 09:21:41 2010
New Revision: 956337

URL: http://svn.apache.org/viewvc?rev=956337&view=rev
Log:
conditionally render IE6 menu fixes 

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java?rev=956337&r1=956336&r2=956337&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/Menu.java Sun Jun 20 09:21:41
2010
@@ -1067,6 +1067,7 @@ public class Menu extends AbstractContro
         if (!headElements.contains(script)) {
             // Script must be executed as soon as browser dom is ready
             script.setExecuteOnDomReady(true);
+            script.setConditionalComment(JsImport.IF_LESS_THAN_IE7);
 
             HtmlStringBuffer buffer = new HtmlStringBuffer();
             buffer.append(" if(typeof Click != 'undefined' && typeof Click.menu !=
'undefined') {\n");



Mime
View raw message