Skip to content

Commit

Permalink
Fix updateSearchList js error (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
nanhantianyi committed Jan 9, 2024
1 parent 99104e4 commit 73108f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,6 @@ <h1>{{template "page_title" .}}</h1>
toastr.options.positionClass = 'toast-top-right-fix';

updateApplyConfigVisibility()
// from clients.html
updateSearchList()

});

Expand Down Expand Up @@ -435,7 +433,6 @@ <h1>{{template "page_title" .}}</h1>
}
});
}


// populateClient function for render new client info
// on the client page.
Expand Down
3 changes: 2 additions & 1 deletion templates/clients.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,12 @@ <h4 class="modal-title">Remove</h4>
);
});
});
}
}
</script>
<script>
// load client list
$(document).ready(function () {
updateSearchList();
populateClientList();
})

Expand Down

0 comments on commit 73108f7

Please sign in to comment.