Fix menu bug

This commit is contained in:
Gaël Métais
2014-08-25 14:46:59 +02:00
parent dcd06a629a
commit b3980706b6
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -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) {