Commit e4e92305 authored by Omid Tourzan's avatar Omid Tourzan Committed by Commit Bot

Files app: keep focus on Delete button after confirmation dialog closure

Bug: 1054319

Change-Id: I42e0444600ce27cf9cf6068b6ee690e1e69d8099
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134748
Commit-Queue: Alex Danilo <adanilo@chromium.org>
Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756152}
parent e71659c2
...@@ -261,7 +261,6 @@ class ToolbarController { ...@@ -261,7 +261,6 @@ class ToolbarController {
* @private * @private
*/ */
onDeleteButtonClicked_() { onDeleteButtonClicked_() {
this.deleteButton_.blur();
this.deleteCommand_.canExecuteChange(this.listContainer_.currentList); this.deleteCommand_.canExecuteChange(this.listContainer_.currentList);
this.deleteCommand_.execute(this.listContainer_.currentList); this.deleteCommand_.execute(this.listContainer_.currentList);
} }
......
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