• Robert Knight's avatar
    Fix Reply action reloading view on /stream if search is non-empty · b495e557
    Robert Knight authored
    The logic for clearing the selection and search in the sidebar
    when creating a new annotation was incorrectly being triggered:
    
     a) On the stream, where creating new annotations
        is not possible except for replies and
     b) For replies. The selection should only be cleared in the sidebar
        when creating a new annotation with a location on the page.
    
    This commit addresses the first issue by moving the logic
    for clearing the selection to the sidebar's controller.
    b495e557
app-controller-test.coffee 6.3 KB