We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c62bf6 commit 07d74ceCopy full SHA for 07d74ce
1 file changed
src/js/bookmarks.js
@@ -223,7 +223,16 @@ var bookmarks = (function() {
223
mod.edit = {
224
link: function(data) {
225
if (data.position.group.new) {
226
- mod.add.group(data);
+ mod.add.group({
227
+ position: {
228
+ origin: null,
229
+ destination: data.position.destination.group
230
+ },
231
+ group: {
232
+ name: data.position.group.name,
233
+ items: []
234
+ }
235
+ });
236
};
237
var item = JSON.parse(JSON.stringify(data.link));
238
mod.all[data.position.origin.group].items.splice(data.position.origin.item, 1);
0 commit comments