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

global: addition of changing url #14

Merged
merged 1 commit into from
Aug 24, 2016
Merged

Conversation

drjova
Copy link
Member

@drjova drjova commented Aug 12, 2016

  • Replaces location url when the pid is available.

Signed-off-by: Harris Tzovanakis me@drjova.com

*/
function invenioRecordsLocationUpdated(evt, pid) {
// FIXME: Make it configurable
$location.url('/deposit/' + pid);
Copy link
Member Author

Choose a reason for hiding this comment

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

It would be better if we take the endpoint from the API's response

@lnielsen
Copy link
Member

will you rebase then I can merge

@drjova
Copy link
Member Author

drjova commented Aug 18, 2016

ping @lnielsen done :) html key in the links is required if someone wants to change the location

* Replaces location url when the ``pid`` is available.

Signed-off-by: Harris Tzovanakis <me@drjova.com>
@drjova
Copy link
Member Author

drjova commented Aug 23, 2016

@lnielsen ready

@lnielsen lnielsen merged commit d4d9405 into inveniosoftware:master Aug 24, 2016
@drjova drjova deleted the location branch August 24, 2016 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants