MD Settings: Don't auto-close navigable dialogs on popstate.
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}
Showing
Please register or sign in to comment