• tommycli's avatar
    MD Settings: Don't auto-close navigable dialogs on popstate. · d263cf26
    tommycli authored
    Previously, we made all cr-dialogs close on popstate. This is good,
    except for navigable dialogs.
    
    For navigable dialogs: It should open if the new route is the dialog's
    route, and close otherwise. All the navigable dialogs already have code
    that implements this behavior, but it conflicts with the popstate
    event handler on cr-dialog.
    
    This CL adds a parameter that disables this behavior for navigable
    dialogs.
    
    BUG=656918
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
    
    Review-Url: https://codereview.chromium.org/2445713004
    Cr-Commit-Position: refs/heads/master@{#427249}
    d263cf26
people_page.html 13.5 KB