[bug] fix new group and group name via new bookmark modal

This commit is contained in:
zombieFox 2019-11-07 23:23:00 +00:00
parent d570bdd522
commit 319def5c8a

View File

@ -192,7 +192,16 @@ var bookmarks = (function() {
mod.add = {
link: function(data) {
if (data.position.group.new) {
mod.add.group();
mod.add.group({
position: {
origin: null,
destination: data.position.destination.group
},
group: {
name: data.position.group.name,
items: []
}
});
};
mod.all[data.position.destination.group].items.splice(data.position.destination.item, 0, data.link);
},