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

added a check for $location.search in case it's empty #185

Merged
merged 1 commit into from
Jul 29, 2015

Conversation

Chocksy
Copy link
Contributor

@Chocksy Chocksy commented Jul 29, 2015

For me the $location.search() for the url: http://website.dev/reset-password?client_id=UlHzEXbCpJeYceELkIWHrA&config=default&expiry=&reset_password=true&token=yAaFQHtyo_UDEWelLI1kzQ&uid=marcel%40gogo.com#/ was giving {}. I'm using angular.js version 1.3.9.

So what i did was to add a new function and in case we have a blank {} $location.search() we call the other function and try to get the parameters from there.

booleanbetrayal added a commit that referenced this pull request Jul 29, 2015
added a check for $location.search in case it's empty
@booleanbetrayal booleanbetrayal merged commit 9a57eb8 into lynndylanhurley:master Jul 29, 2015
@booleanbetrayal
Copy link
Collaborator

Thanks Chocksky!

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