allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#7919] fix <li> nesting issue (<li> is the container in top_nav.html for initial render)
Date Mon, 02 Nov 2015 22:48:36 GMT
Repository: allura
Updated Branches:
  refs/heads/db/7919 16ae8d1f3 -> e8a55ebeb


[#7919] fix <li> nesting issue (<li> is the container in top_nav.html for initial
render)


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e8a55ebe
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e8a55ebe
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e8a55ebe

Branch: refs/heads/db/7919
Commit: e8a55ebebc4c79568fbc809d11964bb6cfca0652
Parents: 16ae8d1
Author: Dave Brondsema <dave@brondsema.net>
Authored: Mon Nov 2 17:48:30 2015 -0500
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Mon Nov 2 17:48:30 2015 -0500

----------------------------------------------------------------------
 Allura/allura/public/nf/js/add-new-tool.es6.js | 4 ++--
 Allura/allura/public/nf/js/navbar.es6.js       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e8a55ebe/Allura/allura/public/nf/js/add-new-tool.es6.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/add-new-tool.es6.js b/Allura/allura/public/nf/js/add-new-tool.es6.js
index bcaba6a..854dba3 100644
--- a/Allura/allura/public/nf/js/add-new-tool.es6.js
+++ b/Allura/allura/public/nf/js/add-new-tool.es6.js
@@ -11,12 +11,12 @@
 var AddNewToolButton = React.createClass({
     render: function() {
         return (
-            <li>
+            <div>
             <a onClick={ this.props.handleToggleAddNewTool } className='add-tool-toggle'>
                 Add New...
             </a>
             { this.props.showAddToolMenu && <NewToolMain />}
-            </li>
+            </div>
         );
     }
 });

http://git-wip-us.apache.org/repos/asf/allura/blob/e8a55ebe/Allura/allura/public/nf/js/navbar.es6.js
----------------------------------------------------------------------
diff --git a/Allura/allura/public/nf/js/navbar.es6.js b/Allura/allura/public/nf/js/navbar.es6.js
index 87232eb..f76abb7 100644
--- a/Allura/allura/public/nf/js/navbar.es6.js
+++ b/Allura/allura/public/nf/js/navbar.es6.js
@@ -227,7 +227,7 @@ var NormalNavBar = React.createClass({
                 id="normal-nav-bar"
                 className="dropdown">
                 { listItems }
-                <ToggleAddNewTool/>
+                <li><ToggleAddNewTool/></li>
             </ul>
         );
     }


Mime
View raw message