[bug] fix automatic group name not being added when no name is entered
This commit is contained in:
parent
db67fb93c6
commit
b47f134736
|
@ -237,7 +237,7 @@ var bookmarks = (function() {
|
||||||
return "Group " + count;
|
return "Group " + count;
|
||||||
};
|
};
|
||||||
if (data) {
|
if (data) {
|
||||||
if (data.group.name == null) {
|
if (data.group.name.text == null) {
|
||||||
data.group.name.text = makeName();
|
data.group.name.text = makeName();
|
||||||
} else if (typeof data.group.name.text == "string") {
|
} else if (typeof data.group.name.text == "string") {
|
||||||
data.group.name.text = data.group.name.text.trim();
|
data.group.name.text = data.group.name.text.trim();
|
||||||
|
|
Loading…
Reference in New Issue