gui: Populate global changes on load

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3848
This commit is contained in:
Nathan Morrison 2016-12-30 01:33:27 +00:00 committed by Audrius Butkevicius
parent eb14f85a57
commit 8daaa5d0d2

View File

@ -92,6 +92,7 @@ angular.module('syncthing.core')
refreshConnectionStats();
refreshDeviceStats();
refreshFolderStats();
refreshGlobalChanges();
refreshThemes();
$http.get(urlbase + '/system/version').success(function (data) {
@ -624,7 +625,7 @@ angular.module('syncthing.core')
}, 2500);
var refreshGlobalChanges = debounce(function () {
$http.get(urlbase + "/events/disk?limit=15").success(function (data) {
$http.get(urlbase + "/events/disk?limit=25").success(function (data) {
data = data.reverse();
$scope.globalChangeEvents = data;