Commit a95714ae authored by csillag's avatar csillag

Upon leaving search, switch to dynamic bucket mode only if in Screen mode. Fixes #1139

parent 1d588521
......@@ -231,10 +231,12 @@ class App
@visualSearch.searchBox.value('');
@visualSearch.searchBox.flags.allSelected = false;
# Set host/guests into dynamic bucket mode
for p in annotator.providers
p.channel.notify
method: 'setDynamicBucketMode'
params: true
if $rootScope.viewState.view is "Sceeen"
for p in annotator.providers
p.channel.notify
method: 'setDynamicBucketMode'
params: true
$scope.$on '$routeChangeStart', (current, next) ->
return unless next.$$route?
......
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