mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 750707 - Toggling bookmarks off should only apply to normal bookmarks (r=margaret)
This commit is contained in:
parent
198c1e7a58
commit
1127c1e8c6
@ -501,8 +501,10 @@ public class LocalBrowserDB implements BrowserDB.BrowserDBIface {
|
|||||||
// Do this now so that the items still exist!
|
// Do this now so that the items still exist!
|
||||||
bumpParents(cr, Bookmarks.URL, uri);
|
bumpParents(cr, Bookmarks.URL, uri);
|
||||||
|
|
||||||
final String[] urlArgs = new String[] { uri };
|
// Toggling bookmark on an URL should not affect the items in the reading list
|
||||||
final String urlEquals = Bookmarks.URL + " = ?";
|
final String[] urlArgs = new String[] { uri, String.valueOf(Bookmarks.FIXED_READING_LIST_ID) };
|
||||||
|
final String urlEquals = Bookmarks.URL + " = ? AND " + Bookmarks.PARENT + " != ?";
|
||||||
|
|
||||||
cr.delete(contentUri, urlEquals, urlArgs);
|
cr.delete(contentUri, urlEquals, urlArgs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user