Skip to content

use pushState for log line links#891

Merged
tpetr merged 17 commits into
masterfrom
tweak-logline-link
Feb 29, 2016
Merged

use pushState for log line links#891
tpetr merged 17 commits into
masterfrom
tweak-logline-link

Conversation

@tpetr

@tpetr tpetr commented Feb 10, 2016

Copy link
Copy Markdown
Contributor

no longer opens a new tab when you click on a permalink to a log line

@tpetr tpetr added this to the 0.4.10 milestone Feb 10, 2016
Comment thread SingularityUI/app/router.coffee Outdated

aggregateTail: (requestId, path = '') ->
offset = window.location.hash.substr(1) || null
offset = parseInt(window.location.hash.substr(1)) || null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should pass a radix to parseInt to make sure its always parsed the same parseInt(window.location.hash.substr(1),10)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

thanks, done

@tpetr tpetr modified the milestones: 0.4.10, 0.4.11 Feb 18, 2016
@ssalinas ssalinas modified the milestones: 0.4.11, 0.4.12 Feb 23, 2016
@tpetr tpetr removed the hs_stable label Feb 23, 2016
tpetr pushed a commit that referenced this pull request Feb 29, 2016
use pushState for log line links
@tpetr tpetr merged commit cf16904 into master Feb 29, 2016
@tpetr tpetr removed hs_qa labels Feb 29, 2016
@ssalinas ssalinas deleted the tweak-logline-link branch April 5, 2016 15:35
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.

3 participants