Skip to content

Commit 319def5

Browse files
committed
[bug] fix new group and group name via new bookmark modal
1 parent d570bdd commit 319def5

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎src/js/bookmarks.js‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,16 @@ var bookmarks = (function(){
192192
mod.add={
193193
link: function(data){
194194
if(data.position.group.new){
195-
mod.add.group();
195+
mod.add.group({
196+
position: {
197+
origin: null,
198+
destination: data.position.destination.group
199+
},
200+
group: {
201+
name: data.position.group.name,
202+
items: []
203+
}
204+
});
196205
};
197206
mod.all[data.position.destination.group].items.splice(data.position.destination.item,0,data.link);
198207
},

0 commit comments

Comments
(0)