Skip to content

Commit

Permalink
fade loading spinner for one time request on patients list
Browse files Browse the repository at this point in the history
  • Loading branch information
achen2401 authored and ivan-c committed Aug 4, 2017
1 parent 297e77c commit fb1cc16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portal/static/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ AdminTool.prototype.getData = function(requests, callback) {
}
else {
if (callback) setTimeout(function() { callback.call(self);}, 300);
setTimeout(function() { self.fadeLoader(); }, 500);
};
}).fail(function(xhr) {
//console.log("request failed.");
Expand Down

0 comments on commit fb1cc16

Please sign in to comment.