Skip to content
Snippets Groups Projects
Commit ba74c3ed authored by Serhiy Shkolyarenko's avatar Serhiy Shkolyarenko
Browse files

MAGETWO-39289: Estimate Shipping and Tax is affects first checkout step(summary bock)

after-merge fix
parent b48cd178
Branches
No related merge requests found
......@@ -7,10 +7,10 @@ define(
[
'../model/url-builder',
'mage/storage',
'Magento_Ui/js/model/errorlist',
'Magento_Ui/js/model/messageList',
'mage/url'
],
function(urlBuilder, storage, errorList, url) {
function(urlBuilder, storage, messageList, url) {
"use strict";
return function(giftMessage, remove) {
url.setBaseUrl(giftMessage.getConfigValue('baseUrl'));
......@@ -30,7 +30,7 @@ define(
);
}
}
errorList.clear();
messageList.clear();
storage.post(
serviceUrl,
......@@ -49,7 +49,7 @@ define(
).fail(
function(response) {
var error = JSON.parse(response.responseText);
errorList.add(error);
messageList.addErrorMessage(error);
}
);
};
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment