dialogs for shopping list (#1103)

This commit is contained in:
kriddles
2020-10-29 11:09:35 -05:00
committed by GitHub
parent 1563870021
commit 64a2f5b25e
4 changed files with 31 additions and 10 deletions

View File

@@ -447,3 +447,13 @@ if ($(window).width() < 768 & window.location.hash !== "#compact" && !BoolVal(Gr
{
$("#shopping-list-compact-view-button").click();
}
$(window).on("message", function(e)
{
var data = e.originalEvent.data;
if (data.Message === "ShoppingListChanged")
{
window.location.href = U('/shoppinglist?list=' + data.Payload);
}
});