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

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

Issue 2813503002: MD Bookmarks: Prevent navigating to invalid folders (Closed)
Patch Set: Add positive test case Created 3 years, 8 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/folder_node.js
diff --git a/chrome/browser/resources/md_bookmarks/folder_node.js b/chrome/browser/resources/md_bookmarks/folder_node.js
index e9e204ef3011aa40469bf04103ba221b57f52418..81ff6bcfc399b77020b624cc9d1f764ddfa2161b 100644
--- a/chrome/browser/resources/md_bookmarks/folder_node.js
+++ b/chrome/browser/resources/md_bookmarks/folder_node.js
@@ -68,7 +68,8 @@ Polymer({
/** @private */
selectFolder_: function() {
- this.dispatch(bookmarks.actions.selectFolder(this.item_.id));
+ this.dispatch(
+ bookmarks.actions.selectFolder(this.item_.id, this.getState().nodes));
},
/**

Powered by Google App Engine
This is Rietveld 408576698