removeRemoteRepository=function(remoteRepository){
clearUserMessages();
openDialogConfirm(
- function(){$.ajax("restServices/archivaServices/remoteRepositoriesService/deleteRemoteRepository/"+encodeURIComponent(remoteRepository.id()),
+ function(){
+ $("#dialog-confirm-modal-body-text" ).html(mediumSpinnerImg());
+ $.ajax("restServices/archivaServices/remoteRepositoriesService/deleteRemoteRepository/"+encodeURIComponent(remoteRepository.id()),
{
type: "GET",
success: function(data) {
displayRestError(res);
},
complete:function(){
+ removeMediumSpinnerImg($("#dialog-confirm-modal-body-text" ));
closeDialogConfirm();
}
}