New repos must have a default rescan interval (fixes #555)

This commit is contained in:
Jakob Borg 2014-08-23 19:40:32 +02:00
parent dda0390156
commit 9f84c1c448
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -709,6 +709,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca
$scope.addRepo = function () { $scope.addRepo = function () {
$scope.currentRepo = {selectedNodes: {}}; $scope.currentRepo = {selectedNodes: {}};
$scope.currentRepo.RescanIntervalS = 60;
$scope.currentRepo.FileVersioningSelector = "none"; $scope.currentRepo.FileVersioningSelector = "none";
$scope.currentRepo.simpleKeep = 5; $scope.currentRepo.simpleKeep = 5;
$scope.currentRepo.staggeredMaxAge = 365; $scope.currentRepo.staggeredMaxAge = 365;