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

Unified Diff: chrome/browser/resources/md_bookmarks/dnd_manager.js

Issue 2977523002: MD Bookmarks: Scroll and select items that are added to the main list (Closed)
Patch Set: Fix test Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_bookmarks/dnd_manager.js
diff --git a/chrome/browser/resources/md_bookmarks/dnd_manager.js b/chrome/browser/resources/md_bookmarks/dnd_manager.js
index c1a73839400886e8906400459932b78e08739b04..8879f24b9a98594ee949606a4bad4e00e84317bb 100644
--- a/chrome/browser/resources/md_bookmarks/dnd_manager.js
+++ b/chrome/browser/resources/md_bookmarks/dnd_manager.js
@@ -356,6 +356,11 @@ cr.define('bookmarks', function() {
chrome.bookmarkManagerPrivate.drop(dropInfo.parentId, dropInfo.index);
else
chrome.bookmarkManagerPrivate.drop(dropInfo.parentId);
+
+ if (isBookmarkItem(this.dropDestination_.element) ||
+ isBookmarkList(this.dropDestination_.element)) {
+ bookmarks.ApiListener.highlightAfterBatchUpdate();
+ }
}
this.dropDestination_ = null;

Powered by Google App Engine
This is Rietveld 408576698