Commit cd65ac8c authored by Randall Leeds's avatar Randall Leeds

Restore reloadOnSearch: false for viewer

There seems to be some combination of conditions which cause Firefox
to infinite loop on the $location service's watchers. Bisecting pointed
to the commit where I removed this. For now, let's slap this bandaid
on. The proper fix probably has to do with making the parameters we
pass to the iframe in its src actually do something (like validating
the origin of frames that connect to the sidebar) and then clearing the
parameters from the URL so they don't cause a reload after the initial
redirection to /viewer.
parent 699207c2
......@@ -42,6 +42,7 @@ configure = [
$routeProvider.when '/viewer',
controller: 'ViewerController'
templateUrl: 'viewer.html'
reloadOnSearch: false # FIXME: shouldn't be needed
$routeProvider.when '/page_search',
controller: 'SearchController'
templateUrl: 'page_search.html'
......
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