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,10 +58,9 @@
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function downloadRemote() {
|
function downloadRemote() {
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "${pageContext.request.contextPath}/restServices/archivaServices/repositoriesService/scheduleDownloadRemoteIndex",
|
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 ,
|
data: "repositoryId="+document.getElementById("downloadRemoteForm").repoid.value+"&now="+document.getElementById("downloadRemoteForm").now.checked+"&fullDownload="+document.getElementById("downloadRemoteForm").fullDownload.checked ,
|
||||||
error: function(){
|
error: function(){
|
||||||
alert('error');
|
alert('error');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue