We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d570bdd commit 319def5Copy full SHA for 319def5
1 file changed
src/js/bookmarks.js
@@ -192,7 +192,16 @@ var bookmarks = (function() {
192
mod.add = {
193
link: function(data) {
194
if (data.position.group.new) {
195
- mod.add.group();
+ 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
+ });
205
};
206
mod.all[data.position.destination.group].items.splice(data.position.destination.item, 0, data.link);
207
},
0 commit comments