diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-12 12:36:09 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-11-12 12:36:09 +0400 |
commit | 00d6ac299e073b3117ea9d730fbffa9ef7e3b8a0 (patch) | |
tree | 744930152d61db6ecd8fda8713e0c1e844cf3707 /app/assets/javascripts/project.js.coffee | |
parent | 80b113705d2f538b1bc1d2f92206c4b91fc61a33 (diff) |
Fix no-ssh-key-message path for cookie
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/assets/javascripts/project.js.coffee')
-rw-r--r-- | app/assets/javascripts/project.js.coffee | 3 |
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() |