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

1551-Make Use of RedirectPage Logic #3910

Closed
wants to merge 2 commits into from
Closed

1551-Make Use of RedirectPage Logic #3910

wants to merge 2 commits into from

Conversation

sudoflyy
Copy link

@sudoflyy sudoflyy commented Jun 14, 2017

Related Issues

Pull Request Checklist

  • Unit [tests][] completed
  • Integration [tests][]: None
  • Deployment requirements, [SQL updates][], [Solr updates][], etc.: None
  • [Documentation][docs] completed
  • Merged latest from "develop" [branch][] and resolved conflicts

@coveralls
Copy link

Coverage Status

Coverage remained the same at 10.28% when pulling 9c76530 on aivanov100:feature/1551-Shibboleth-login-redirect into e903302 on IQSS:develop.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved!


function urlParam(name) {
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
return results[1] || 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does the results[1] || 0; line do? It needs a comment probably

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oscardssmith sure, you can include this comment for the function:
Returns the value for the specified parameter, or 0 if the parameter is not found in the url string

Copy link
Contributor

@oscardssmith oscardssmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@coveralls
Copy link

Coverage Status

Coverage remained the same at 10.28% when pulling f7e1b71 on aivanov100:feature/1551-Shibboleth-login-redirect into e903302 on IQSS:develop.

@pdurbin
Copy link
Member

pdurbin commented Jun 20, 2017

Closing in favor of #3929. The branch was behind develop.

@pdurbin pdurbin closed this Jun 20, 2017
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.

5 participants