summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-12 10:36:09 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-11-12 10:36:09 +0200
commit00d6ac299e073b3117ea9d730fbffa9ef7e3b8a0 (patch)
tree744930152d61db6ecd8fda8713e0c1e844cf3707 /app
parent80b113705d2f538b1bc1d2f92206c4b91fc61a33 (diff)
downloadgitlab-ce-00d6ac299e073b3117ea9d730fbffa9ef7e3b8a0.tar.gz
Fix no-ssh-key-message path for cookie
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/project.js.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/project.js.coffee b/app/assets/javascripts/project.js.coffee
index b12f045e375..9a41ec7a0be 100644
--- a/app/assets/javascripts/project.js.coffee
+++ b/app/assets/javascripts/project.js.coffee
@@ -42,6 +42,7 @@ $ ->
$(@).parents('form').submit()
$('.hide-no-ssh-message').on 'click', (e) ->
- $.cookie('hide_no_ssh_message', 'false')
+ path = '/'
+ $.cookie('hide_no_ssh_message', 'false', { path: path })
$(@).parents('.no-ssh-key-message').hide()
e.preventDefault()