fix hide projects menu

stable
Juanfran 2014-07-28 08:40:50 +02:00
parent 6f8f70fe34
commit ec4f3e9975
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ ProjectMenuDirective = ($log, $compile, $rootscope) ->
$scope.$on "$viewContentLoaded", (ctx) ->
if ctx.targetScope.$$childHead is null || ctx.targetScope.$$childHead.hideMenu
$el.addClass("hidden")
$log.error "No scope found for render menu."
return