Skip to content

Commit

Permalink
Merge pull request #33 from rafaelpezzuto/main
Browse files Browse the repository at this point in the history
Corrige local em que loader é exibido
  • Loading branch information
rafaelpezzuto authored Nov 10, 2021
2 parents aef2ffc + c93664c commit 2f4d337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/templates/ingress/package_download.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ <h2 class="h4">{% trans 'Results for document' %} <strong>{{ pid }}</strong></h2

function checkTaskStatus() {
if (!requested){
showLoader(loader, button);

$.ajax({
url: '/task/update_status/?task_id={{ task_id }}',
type: 'GET',
success: function(result) {
// mostra loader e desativa botão pesquisar
showLoader(loader, button);

if (result.data && 'doc_pkgs' in result.data) {
// adiciona conteúdo à tabela
ingressPackageDownloadCreateTable(result.data);
Expand Down

0 comments on commit 2f4d337

Please sign in to comment.