Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignoreLoadingBar parameter not working on response #70

Closed
wants to merge 3 commits into from

Conversation

angi-
Copy link
Contributor

@angi- angi- commented May 27, 2014

I need to make multiple requests to a service (one every second) in order to get results. So I used the ignoreLoadingBar parameter for my $http requests and used the cfpLoadingBar.start() and cfpLoadingBar.complete() manually.

The problem is that only the request ignores the loading bar animation. Even if I pass the ignoreLoadingBar parameter, on response my manually triggered loading bar gets hidden.

I need to make multiple requests to a service (one every second) in order to get results. So I used the ignoreLoadingBar parameter for my $http requests and used the cfpLoadingBar.start() and cfpLoadingBar.complete() manually.

The problem is that only the request ignores the loading bar animation. Even if I pass the ignoreLoadingBar parameter, on response my manually triggered loading bar gets hidden.
@chieffancypants
Copy link
Owner

Great catch. I'll need to add some tests to ensure, and will merge right afterwards

@chieffancypants chieffancypants self-assigned this May 28, 2014
@chieffancypants
Copy link
Owner

It seems you modified the built js, not the original src. Can you please redo this modifying the src only?

angi- added 2 commits May 28, 2014 08:11
Pushing fix to src for ignoreLoadingBar parameter to work on response and rejection.
Modified build file as it was initially
@angi-
Copy link
Contributor Author

angi- commented May 28, 2014

Done, I modified the src js file and removed my changes from the built source.

chieffancypants added a commit that referenced this pull request Jun 9, 2014
@chieffancypants
Copy link
Owner

This landed in 6bb2b60. Thanks again!

@chieffancypants chieffancypants added this to the next version milestone Jun 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants