Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Issue 2371363002: [MD History] Fix item selection when deleting via menu item. (Closed)

Created:
4 years, 2 months ago by calamity
Modified:
4 years, 2 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Fix item selection when deleting via menu item. This CL fixes an issue where an item in the history list would stay selected when deleting via the menu item with multiple items selected. This was happening because the unselect call would trigger against outdated selection paths. BUG=642665 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/f5da8e21e5b0a869e701797c6d854519ed5416a8 Cr-Commit-Position: refs/heads/master@{#421773}

Patch Set 1 #

Total comments: 2

Patch Set 2 : uglify, fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M chrome/browser/resources/md_history/app.crisper.js View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_history/lazy_load.vulcanized.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/md_history/list_container.js View 1 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 chunk +9 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (9 generated)
calamity
4 years, 2 months ago (2016-09-29 00:53:08 UTC) #7
tsergeant
You'll need to rebase for crisper.js, since it is ugly now. https://codereview.chromium.org/2371363002/diff/1/chrome/browser/resources/md_history/list_container.js File chrome/browser/resources/md_history/list_container.js (right): ...
4 years, 2 months ago (2016-09-29 01:45:01 UTC) #8
calamity
https://codereview.chromium.org/2371363002/diff/1/chrome/browser/resources/md_history/list_container.js File chrome/browser/resources/md_history/list_container.js (right): https://codereview.chromium.org/2371363002/diff/1/chrome/browser/resources/md_history/list_container.js#newcode241 chrome/browser/resources/md_history/list_container.js:241: // This unselect-all is to reset the toolbar when ...
4 years, 2 months ago (2016-09-29 03:06:23 UTC) #10
tsergeant
lgtm
4 years, 2 months ago (2016-09-29 03:18:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2371363002/40001
4 years, 2 months ago (2016-09-29 05:52:06 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 2 months ago (2016-09-29 07:48:54 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 07:52:35 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f5da8e21e5b0a869e701797c6d854519ed5416a8
Cr-Commit-Position: refs/heads/master@{#421773}

Powered by Google App Engine
This is Rietveld 408576698