mirror of
https://gitlab.com/bmcgonag/get_my.git
synced 2026-03-27 00:08:49 +00:00
Fix bug with updating linked menu items and products.
This commit is contained in:
parent
e10e234250
commit
457004df3f
2 changed files with 38 additions and 11 deletions
|
|
@ -53,9 +53,6 @@ Template.addProdToListModal.events({
|
|||
event.preventDefault();
|
||||
let selectedItems = Session.get("itemsSelected");
|
||||
let listId = $("#chooseList").val();
|
||||
// console.log(" calling meteor method with items: ");
|
||||
// console.dir(selectedItems);
|
||||
// console.log(" and list id: "+ listId);
|
||||
Meteor.call('add.itemsFromMenuItem', selectedItems, listId, function(err, result) {
|
||||
if (err) {
|
||||
console.log(" ERROR adding menu components to list: " + err);
|
||||
|
|
@ -64,4 +61,4 @@ Template.addProdToListModal.events({
|
|||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue