Skip to content
Snippets Groups Projects
Commit cdf09964 authored by Andrii Lugovyi's avatar Andrii Lugovyi
Browse files

MAGETWO-54692: Merchant can't install 2.1.0 EE with sample data using CLI (74% issue)

parent 8462c292
No related merge requests found
......@@ -86,6 +86,9 @@ angular.module('install', ['ngStorage'])
$scope.isSampleDataError = true;
}
}
}, function (response) {
$scope.displayFailure();
$scope.log = $scope.log + response.statusText + '<br>';
});
progress.get(function () {
$scope.checkProgress();
......@@ -99,6 +102,7 @@ angular.module('install', ['ngStorage'])
$scope.displayFailure = function () {
$scope.isFailed = true;
$scope.isDisabled = false;
$scope.isInProgress = false;
$rootScope.isMenuEnabled = true;
};
}])
......@@ -107,8 +111,8 @@ angular.module('install', ['ngStorage'])
get: function (callback) {
$http.post('index.php/install/progress').then(callback);
},
post: function (data, callback) {
$http.post('index.php/install/start', data).success(callback);
post: function (data, success, failure) {
$http.post('index.php/install/start', data).then(success, failure);
}
};
}]);
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