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

Unified Diff: chrome/browser/resources/bookmark_manager/js/main.js

Issue 684143005: bmm: swap reversed commands to make "Add new folder..." work correctly again. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/bookmark_manager/js/main.js
diff --git a/chrome/browser/resources/bookmark_manager/js/main.js b/chrome/browser/resources/bookmark_manager/js/main.js
index 4b1af2bf06979cae50cd1a01be51af5fc3eb739d..123df708511b8f706ab0c66dc22cf76fbe1cf2e0 100644
--- a/chrome/browser/resources/bookmark_manager/js/main.js
+++ b/chrome/browser/resources/bookmark_manager/js/main.js
@@ -1333,9 +1333,9 @@ function handleCommand(e) {
editSelectedItem();
break;
- case 'new-folder-command':
- target = bmm.tree;
case 'new-folder-from-folders-menu-command':
+ target = bmm.tree;
+ case 'new-folder-command':
recordUserAction('NewFolder');
newFolder(target);
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698