We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec723a commit 43eafbeCopy full SHA for 43eafbe
view/frontend/web/js/action/submit-filter.js
@@ -50,7 +50,13 @@ define(
50
window.history.pushState({url: submitUrl}, '', submitUrl);
51
}
52
53
- return storage.post(submitUrl, JSON.stringify({'mp_layer': 1})).done(
+ if (typeof isChangeUrl === 'object'){
54
+ var data = '{}';
55
+ }else{
56
+ var data = JSON.stringify({'mp_layer': 1});
57
+ }
58
+
59
+ return storage.post(submitUrl, data).done(
60
function (response) {
61
if (response.backUrl) {
62
window.location = response.backUrl;
0 commit comments