You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gp...@apache.org on 2011/04/04 21:46:11 UTC

svn commit: r1088760 - /myfaces/extensions/cdi/trunk/examples/jsf-examples/hello_myfaces-codi_jsf20/src/main/webapp/layout/main-template.xhtml

Author: gpetracek
Date: Mon Apr  4 19:46:11 2011
New Revision: 1088760

URL: http://svn.apache.org/viewvc?rev=1088760&view=rev
Log:
community links

Modified:
    myfaces/extensions/cdi/trunk/examples/jsf-examples/hello_myfaces-codi_jsf20/src/main/webapp/layout/main-template.xhtml

Modified: myfaces/extensions/cdi/trunk/examples/jsf-examples/hello_myfaces-codi_jsf20/src/main/webapp/layout/main-template.xhtml
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/examples/jsf-examples/hello_myfaces-codi_jsf20/src/main/webapp/layout/main-template.xhtml?rev=1088760&r1=1088759&r2=1088760&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/examples/jsf-examples/hello_myfaces-codi_jsf20/src/main/webapp/layout/main-template.xhtml (original)
+++ myfaces/extensions/cdi/trunk/examples/jsf-examples/hello_myfaces-codi_jsf20/src/main/webapp/layout/main-template.xhtml Mon Apr  4 19:46:11 2011
@@ -129,11 +129,11 @@
             </div>
         </div>
 
-        <div style="
-                      overflow: hidden;
-                      position: fixed;
-                      left: 0.25em;
-                      bottom: 0;
+        <div id="communityHintsSwitcher" style="
+                                                  overflow: hidden;
+                                                  position: fixed;
+                                                  left: 0.25em;
+                                                  bottom: 0;
         ">
             <h:form>
                 <h:commandLink action="#{windowPropertiesBean.toggleCommunityLinks}"
@@ -264,6 +264,7 @@
         <script type="text/javascript">
             /*workaround*/
             if(navigator.userAgent.indexOf("Gecko") == -1) {
+                document.getElementById("communityHintsSwitcher").style.display='none';
                 document.getElementById("communityHints").style.display='none';
             }
         </script>