mirror of https://github.com/apache/archiva.git
fix parameter for ajax call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43b763f95a
commit
3ead9fbb4a
|
@ -58,14 +58,13 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
function downloadRemote() {
|
||||
|
||||
$.ajax({
|
||||
url: "${pageContext.request.contextPath}/restServices/archivaServices/repositoriesService/scheduleDownloadRemoteIndex",
|
||||
data: "repositoryId="+document.getElementById("downloadRemoteForm").repoid.value+"&now="+document.getElementById("downloadRemoteForm").now.value+"&fullDownload="+document.getElementById("downloadRemoteForm").fullDownload.value ,
|
||||
error: function(){
|
||||
alert('error');
|
||||
}
|
||||
});
|
||||
url: "${pageContext.request.contextPath}/restServices/archivaServices/repositoriesService/scheduleDownloadRemoteIndex",
|
||||
data: "repositoryId="+document.getElementById("downloadRemoteForm").repoid.value+"&now="+document.getElementById("downloadRemoteForm").now.checked+"&fullDownload="+document.getElementById("downloadRemoteForm").fullDownload.checked ,
|
||||
error: function(){
|
||||
alert('error');
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
document.getElementById("editRemoteRepository_repository_name").focus();
|
||||
|
|
Loading…
Reference in New Issue