mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1296761 - Handle serverside places root in sync bookmark validator better r=markh
MozReview-Commit-ID: JzNWFCLSMcZ --HG-- extra : rebase_source : 3eb2c303494b9ee36e73aaca96f8a55b26e73126
This commit is contained in:
parent
36648bb360
commit
8fcd1dab90
@ -321,7 +321,7 @@ class BookmarkValidator {
|
||||
}
|
||||
|
||||
record.parent = parent;
|
||||
if (parent !== root) {
|
||||
if (parent !== root || problemData.rootOnServer) {
|
||||
let childIndex = parent.children.indexOf(id);
|
||||
if (childIndex < 0) {
|
||||
problemData.parentChildMismatches.push({parent: parent.id, child: record.id});
|
||||
|
Loading…
Reference in New Issue
Block a user