SOLR-8993: Refresh status after we get handlers

This commit is contained in:
Alexandre Rafalovitch 2016-08-15 22:25:18 +10:00
parent 6dd228c117
commit 1dd50d0747
1 changed files with 1 additions and 2 deletions

View File

@ -52,6 +52,7 @@ solrAdminApp.controller('DataImportController',
$('document > entity', xml).each(function (i, element) { $('document > entity', xml).each(function (i, element) {
$scope.entities.push($(element).attr('name')); $scope.entities.push($(element).attr('name'));
}); });
$scope.refreshStatus();
} catch (err) { } catch (err) {
console.log(err); console.log(err);
} }
@ -59,8 +60,6 @@ solrAdminApp.controller('DataImportController',
} }
$scope.lastUpdate = "unknown"; $scope.lastUpdate = "unknown";
$scope.lastUpdateUTC = ""; $scope.lastUpdateUTC = "";
$scope.refreshStatus();
}; };
$scope.toggleDebug = function () { $scope.toggleDebug = function () {