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
092be0d57a
commit
27d5c2867a
@ -501,8 +501,10 @@ public class LocalBrowserDB implements BrowserDB.BrowserDBIface {
|
||||
// Do this now so that the items still exist!
|
||||
bumpParents(cr, Bookmarks.URL, uri);
|
||||
|
||||
final String[] urlArgs = new String[] { uri };
|
||||
final String urlEquals = Bookmarks.URL + " = ?";
|
||||
// Toggling bookmark on an URL should not affect the items in the reading list
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user