зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1378554 - Allow empty titles for synced separators. r=markh
MozReview-Commit-ID: 7dDcIBjhDS4 --HG-- extra : rebase_source : 1acee6f8364f354af8412cebdf7cfebf3c4b9cbc
This commit is contained in:
Родитель
a4f06209c9
Коммит
8098b7036f
|
@ -1361,7 +1361,8 @@ function validateNewBookmark(info) {
|
|||
title: { validIf: b => [ BookmarkSyncUtils.KINDS.BOOKMARK,
|
||||
BookmarkSyncUtils.KINDS.QUERY,
|
||||
BookmarkSyncUtils.KINDS.FOLDER,
|
||||
BookmarkSyncUtils.KINDS.LIVEMARK ].includes(b.kind) },
|
||||
BookmarkSyncUtils.KINDS.LIVEMARK ].includes(b.kind) ||
|
||||
b.title === "" },
|
||||
query: { validIf: b => b.kind == BookmarkSyncUtils.KINDS.QUERY },
|
||||
folder: { validIf: b => b.kind == BookmarkSyncUtils.KINDS.QUERY },
|
||||
tags: { validIf: b => [ BookmarkSyncUtils.KINDS.BOOKMARK,
|
||||
|
|
Загрузка…
Ссылка в новой задаче