mirror of https://github.com/apache/archiva.git
add a default cron expression to ease remote repo creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d0220c13ad
commit
26302816d3
|
@ -978,7 +978,9 @@ define("archiva.repositories",["jquery","i18n","jquery.tmpl","bootstrap","jquery
|
||||||
type: "GET",
|
type: "GET",
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function(data) {
|
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));
|
viewModel.networkProxies(mapNetworkProxies(data));
|
||||||
ko.applyBindings(viewModel,$("#main-content" ).find("#remote-repository-edit").get(0));
|
ko.applyBindings(viewModel,$("#main-content" ).find("#remote-repository-edit").get(0));
|
||||||
activateRemoteRepositoryFormValidation();
|
activateRemoteRepositoryFormValidation();
|
||||||
|
|
Loading…
Reference in New Issue