Commit 0de26664 authored by csillag's avatar csillag

Fix scrolling regression: support search results, too

parent c2fda671
......@@ -795,6 +795,15 @@ class Search
method: 'setActiveHighlights'
params: highlights
$scope.openDetails = (annotation) ->
# Temporary workaround, until search result annotation card
# scopes get their 'annotation' fields, too.
return unless annotation
for p in providers
p.channel.notify
method: 'scrollTo'
params: annotation.$$tag
refresh = =>
$scope.search_filter = $routeParams.matched
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment