Skip to content

Commit

Permalink
Allow editing location on Add Bookmark in bookmark toolbar
Browse files Browse the repository at this point in the history
fix brave#5374

Auditors: @bsclifton

Test Plan:
1. Right click on bookmark toolbar
2. Select Add Bookmark
3. Should be able to edit the location
  • Loading branch information
darkdh committed Nov 3, 2016
1 parent 9566bcd commit 7935f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/contextMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const addBookmarkMenuItem = (label, siteDetail, closestDestinationDetail, isPare
if (isParent) {
siteDetail = siteDetail.set('parentFolderId', closestDestinationDetail && (closestDestinationDetail.get('folderId') || closestDestinationDetail.get('parentFolderId')))
}
windowActions.setBookmarkDetail(siteDetail, siteDetail, closestDestinationDetail, false)
windowActions.setBookmarkDetail(siteDetail, siteDetail, closestDestinationDetail, true)
}
}
}
Expand Down

0 comments on commit 7935f8b

Please sign in to comment.