fix search lightbox

stable
Juanfran 2015-05-28 08:11:07 +02:00
parent 3acc1b8ba9
commit 14b8e5c264
1 changed files with 3 additions and 1 deletions

View File

@ -116,12 +116,14 @@ SearchBoxDirective = (projectService, $lightboxService, $navurls, $location, $ro
url = $navurls.resolve("project-search", {project: project.get("slug")})
$lightboxService.close($el)
$scope.$apply ->
$lightboxService.close($el)
$location.path(url)
$location.search("text", text).path(url)
$route.reload()
openLightbox = () ->
project = projectService.project