diff options
| author | 2014-02-13 21:15:50 +0100 | |
|---|---|---|
| committer | 2014-02-13 21:15:50 +0100 | |
| commit | b77d9c60ac0cc6614ccc2711ab647d5e0a5037ed (patch) | |
| tree | a793c4cc29754489fd168acabc7a85463447d16b /app/views/javascript | |
| parent | 178af19fb0e7c13015e991593feea6a5f4aafcc0 (diff) | |
Use complete instead of done during feed refresh
A request can fail: in this case, the progress bar is not updated by using
"done".
See #421
Diffstat (limited to 'app/views/javascript')
| -rw-r--r-- | app/views/javascript/actualize.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/javascript/actualize.phtml b/app/views/javascript/actualize.phtml index a2b076ea8..3b12ad774 100644 --- a/app/views/javascript/actualize.phtml +++ b/app/views/javascript/actualize.phtml @@ -42,7 +42,7 @@ function updateFeed() { $.ajax({ type: 'POST', url: feed, - }).done(function (data) { + }).complete(function (data) { feed_processed++; updateProgressBar(feed_processed); |
