mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-27 10:34:03 +01:00
[bug] fix new group and group name via new bookmark modal
This commit is contained in:
parent
d570bdd522
commit
319def5c8a
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user