Skip to content

Commit b25d28f

Browse files
committed
* Fix ajax success in tests. (cherry picked from commit 4c7df0a)
1 parent ae229f9 commit b25d28f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/view/frontend/web/js/product/storage

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/web/js/product/storage/data-storage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ define([
228228
this.updateRequestConfig.data = queryBuilder.buildQuery(prepareAjaxParams);
229229
this.updateRequestConfig.data['store_id'] = store;
230230
this.updateRequestConfig.data['currency_code'] = currency;
231-
$.ajax(this.updateRequestConfig).success(function (data) {
231+
$.ajax(this.updateRequestConfig).done(function (data) {
232232
this.request = {};
233233
this.providerHandler(getParsedDataFromServer(data));
234234
}.bind(this));

0 commit comments

Comments
 (0)