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

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

Issue 2977523002: MD Bookmarks: Scroll and select items that are added to the main list (Closed)
Patch Set: Reformat json schema 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/edit_dialog.js
diff --git a/chrome/browser/resources/md_bookmarks/edit_dialog.js b/chrome/browser/resources/md_bookmarks/edit_dialog.js
index 582417e708d9e2e0978418e3d536273555856624..d3138fa8b9307bcb19483b7f80adfe63cbc9ac01 100644
--- a/chrome/browser/resources/md_bookmarks/edit_dialog.js
+++ b/chrome/browser/resources/md_bookmarks/edit_dialog.js
@@ -127,7 +127,9 @@ Polymer({
chrome.bookmarks.update(this.editItem_.id, edit);
} else {
edit['parentId'] = this.parentId_;
- chrome.bookmarks.create(edit);
+ bookmarks.ApiListener.trackUpdatedItems();
+ chrome.bookmarks.create(
+ edit, bookmarks.ApiListener.highlightUpdatedItems);
}
this.$.dialog.close();
},
« no previous file with comments | « chrome/browser/resources/md_bookmarks/dnd_manager.js ('k') | chrome/browser/resources/md_bookmarks/list.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698