allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [46/50] [abbrv] allura git commit: Add Tool button should only be after top-level tools, not in submenus
Date Thu, 17 Dec 2015 19:22:33 GMT
Add Tool button should only be after top-level tools, not in submenus


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

Branch: refs/heads/db/8034
Commit: 8f4813d2c3078e92c62bd14254e94e3842eff129
Parents: d20e75d
Author: Dave Brondsema <dave@brondsema.net>
Authored: Fri Dec 11 16:08:09 2015 -0500
Committer: Heith Seewald <heiths@gmail.com>
Committed: Wed Dec 16 15:50:53 2015 -0600

----------------------------------------------------------------------
 Allura/allura/public/nf/js/navbar.es6.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/8f4813d2/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 63d303e..32b1fb5 100644
--- a/Allura/allura/public/nf/js/navbar.es6.js
+++ b/Allura/allura/public/nf/js/navbar.es6.js
@@ -339,9 +339,9 @@ var AdminNav = React.createClass({
                     { tools }
                 </ReactReorderable>
                 { end_tools }
-                <div id="add-tool-container">
+                { !isSubMenu && <div id="add-tool-container">
                     <ToggleAddNewTool installableTools={this.props.installableTools}/>
-                </div>
+                </div>}
             </div>
         );
     },


Mime
View raw message