Commit 00d6ac299e073b3117ea9d730fbffa9ef7e3b8a0
1 parent
80b11370
Exists in
master
and in
4 other branches
Fix no-ssh-key-message path for cookie
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/assets/javascripts/project.js.coffee
... | ... | @@ -42,6 +42,7 @@ $ -> |
42 | 42 | $(@).parents('form').submit() |
43 | 43 | |
44 | 44 | $('.hide-no-ssh-message').on 'click', (e) -> |
45 | - $.cookie('hide_no_ssh_message', 'false') | |
45 | + path = '/' | |
46 | + $.cookie('hide_no_ssh_message', 'false', { path: path }) | |
46 | 47 | $(@).parents('.no-ssh-key-message').hide() |
47 | 48 | e.preventDefault() | ... | ... |