Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #148 from EmicoEcommerce/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
stijnbernards authored Mar 12, 2021
2 parents 790e405 + bc4a0fd commit c0479a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions view/frontend/web/js/navigation-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,13 @@ define([
.replaceWith(newToolbarLast.outerHTML + scripts);
}

const primaryActionsDiv = $(".actions-primary")
primaryActionsDiv.find('form').
each(function (i, form) {
$(form).append('<input name="form_key" type="hidden" ' +
' value="' + $.mage.cookies.get('form_key') + '" />');
});

$('body').trigger('contentUpdated');
},

Expand Down

0 comments on commit c0479a6

Please sign in to comment.