From b3980706b614ef4fbf7c36e4f240ef4afdd08a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 25 Aug 2014 14:46:59 +0200 Subject: [PATCH] Fix menu bug --- app/node_views/results.html | 6 +++--- app/public/scripts/resultsCtrl.js | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/node_views/results.html b/app/node_views/results.html index db4531f..7d998a9 100644 --- a/app/node_views/results.html +++ b/app/node_views/results.html @@ -19,9 +19,9 @@
New test - - - + + +
diff --git a/app/public/scripts/resultsCtrl.js b/app/public/scripts/resultsCtrl.js index 09b39f3..ae7ff50 100644 --- a/app/public/scripts/resultsCtrl.js +++ b/app/public/scripts/resultsCtrl.js @@ -25,6 +25,10 @@ app.controller('ResultsCtrl', function ($scope) { }); } + $scope.setView = function(viewName) { + $scope.view = viewName; + }; + $scope.onNodeDetailsClick = function(node) { var isOpen = node.data.showDetails; if (!isOpen) {