Blank spaces fixed

This commit is contained in:
Manuel 2017-05-24 19:22:51 +02:00
parent fe46172d09
commit dd07aa8eb3

View File

@ -154,11 +154,11 @@ app.controller('settingsController', function ($scope, $http, testConnection, ap
testConnection.check(tmpData).then(function (data) {
tmpData.manager = data;
var index = $scope.apiEntries.indexOf(item);
$http.put("/api/wazuh-api/updateApiHostname/" + $scope.apiEntries[index]._id, tmpData).success(function (data) {
$scope.apiEntries[index]._source.manager = tmpData.manager;
$http.put("/api/wazuh-api/updateApiHostname/" + $scope.apiEntries[index]._id, tmpData).success(function (data) {
$scope.apiEntries[index]._source.manager = tmpData.manager;
});
notify.info("Connection success");
}, printError);
}, printError);
};
// Process form