Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #9199 from cezaraugusto/bookmarks/dnd/9101
Browse files Browse the repository at this point in the history
Re-allow dragging bookmarks inside folder in bookmarks manager
  • Loading branch information
bsclifton committed Jun 5, 2017
1 parent a4ecb42 commit 520a764
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/about/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ class BookmarkFolderItem extends React.Component {
*/
moveBookmark (e, bookmark) {
if (siteUtil.isMoveAllowed(this.props.allBookmarkFolders, bookmark, this.props.bookmarkFolder)) {
const bookmarkSiteKey = siteUtil.getSiteKey(bookmark.toJS())
const bookmarkFolderSiteKey = siteUtil.getSiteKey(this.props.bookmarkFolder.toJS())

const bookmarkSiteKey = siteUtil.getSiteKey(bookmark)
const bookmarkFolderSiteKey = siteUtil.getSiteKey(this.props.bookmarkFolder)
aboutActions.moveSite(bookmarkSiteKey,
bookmarkFolderSiteKey,
dndData.shouldPrependVerticalItem(e.target, e.clientY),
Expand Down

0 comments on commit 520a764

Please sign in to comment.