summaryrefslogtreecommitdiff
path: root/vendor/assets
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-01-31 10:37:23 +0900
committerSato Hiroyuki <sathiroyuki@gmail.com>2013-01-31 10:43:57 +0900
commitf8a2db53417a345d78d8e6b78367d5bbb9bb601b (patch)
tree22051728921151ef29cb90672e81c16d05a0ca03 /vendor/assets
parent1fdeb9e03042b1b645ed0fe6c33fb4f21dd6ddb1 (diff)
downloadgitlab-ce-f8a2db53417a345d78d8e6b78367d5bbb9bb601b.tar.gz
Displaying commit on a new window, when clicking commit on network graph.
Diffstat (limited to 'vendor/assets')
-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 93849c79e80..2fc39423b41 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -260,7 +260,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);