Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
Merge branch 'mariojunior-fix-progress' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
erkobridee committed May 28, 2014
2 parents 2e13a89 + 998b311 commit 54e6849
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/shared/fend/progressbar-loading/config.interceptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ function(module) {
},

'response': function(response) {
if (!angular.isDefined(response)) {
console.error('No response defined. Aborting operation.');
setComplete();
return $q.reject(response);
}

if (!isCached(response.config)) {
reqsCompleted++;
if (reqsCompleted >= reqsTotal) {
Expand Down

0 comments on commit 54e6849

Please sign in to comment.