Commit dfc7b92d authored by Tomasz Moniuszko's avatar Tomasz Moniuszko Committed by Commit Bot

Restore Undo option in password manager

Bug: 1006749
Change-Id: I74334514acd6fd195e6cc435e37e5b46731ea4a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1819306Reviewed-by: default avatarHector Carmona <hcarmona@chromium.org>
Commit-Queue: Tomasz Moniuszko <tmoniuszko@opera.com>
Cr-Commit-Position: refs/heads/master@{#699229}
parent fe24676c
......@@ -426,7 +426,9 @@ Polymer({
onMenuRemovePasswordTap_: function() {
this.passwordManager_.removeSavedPassword(
this.activePassword.item.entry.id);
cr.toastManager.getInstance().show(this.i18n('passwordDeleted'), false);
cr.toastManager.getInstance().show(
this.i18n('passwordDeleted'),
/* showUndo */ true);
/** @type {CrActionMenuElement} */ (this.$.menu).close();
},
......
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