diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index 07b3a05d6..068200288 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -978,7 +978,9 @@ define("archiva.repositories",["jquery","i18n","jquery.tmpl","bootstrap","jquery type: "GET", dataType: 'json', success: function(data) { - var viewModel = new RemoteRepositoryViewModel(new RemoteRepository(),false,remoteRepositoriesViewModel); + var remoteRepo=new RemoteRepository(); + remoteRepo.cronExpression("0 0 08 ? * SUN"); + var viewModel = new RemoteRepositoryViewModel(remoteRepo,false,remoteRepositoriesViewModel); viewModel.networkProxies(mapNetworkProxies(data)); ko.applyBindings(viewModel,$("#main-content" ).find("#remote-repository-edit").get(0)); activateRemoteRepositoryFormValidation();