From d0268ed319bbfbb26e57040e05080f97ae6fec25 Mon Sep 17 00:00:00 2001 From: netusco Date: Fri, 9 May 2014 13:48:35 +0200 Subject: [PATCH] updating calls to addMenuItem and addSubMenuItem We can still create normal MenuItems without the 'dropdown' class. --- public/modules/articles/config/articles.client.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/modules/articles/config/articles.client.config.js b/public/modules/articles/config/articles.client.config.js index b69ee99354..5edcd5dd20 100644 --- a/public/modules/articles/config/articles.client.config.js +++ b/public/modules/articles/config/articles.client.config.js @@ -4,7 +4,8 @@ angular.module('articles').run(['Menus', function(Menus) { // Set top bar menu items - Menus.addMenuItem('topbar', 'Articles', 'articles'); - Menus.addMenuItem('topbar', 'New Article', 'articles/create'); + Menus.addMenuItem('topbar', 'Articles', 'articles', 'dropdown'); + Menus.addSubMenuItem('topbar', 'articles', 'List Articles', 'articles'); + Menus.addSubMenuItem('topbar', 'articles', 'New Article', 'articles/create'); } -]); \ No newline at end of file +]);