Skip to content

Commit ff56bb5

Browse files
author
Mohan Ahuja
committed
ACP2E-711: "Invalid Form Key. Please refresh the page." error occurs when changing the product limit in categories
- Added documentation comment.
1 parent 7cf05de commit ff56bb5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/PageCache/view/frontend/web/js/form-key-provider.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ define(function () {
5555
return null;
5656
}
5757

58+
/**
59+
* Get form key from UI input hidden
60+
* @private
61+
*/
5862
function getFormKeyFromUI() {
5963
return document.querySelector(inputSelector).value;
6064
}

0 commit comments

Comments
 (0)