summaryrefslogtreecommitdiff
path: root/vendor/assets/javascripts/branch-graph.js
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-30 22:23:33 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-30 22:23:33 -0800
commit6dff742b6617a9a8bb4fd5d8ee7acc0327919cfb (patch)
tree7ab8a0a94b076020a63ddb7a539c6dbcc15a2d28 /vendor/assets/javascripts/branch-graph.js
parentd46cb3fd1c8aa423df72fabcdd504d39d91317e2 (diff)
parentf8a2db53417a345d78d8e6b78367d5bbb9bb601b (diff)
downloadgitlab-ce-6dff742b6617a9a8bb4fd5d8ee7acc0327919cfb.tar.gz
Merge pull request #2852 from hiroponz/displaying-commit-on-new-window
Displaying commit on a new window, when clicking commit on network graph.
Diffstat (limited to 'vendor/assets/javascripts/branch-graph.js')
-rw-r--r--vendor/assets/javascripts/branch-graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js
index 69bddd78d63..4ca8680416b 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -282,7 +282,7 @@
cursor: "pointer"
})
.click(function(){
- window.location = options.commit_url.replace('%s', commit.id);
+ window.open(options.commit_url.replace('%s', commit.id), '_blank');
})
.hover(function(){
this.tooltip = r.commitTooltip(x, y + 5, commit);