Fix no-ssh-key-message path for cookie

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-11-12 10:36:09 +02:00
parent 80b113705d
commit 00d6ac299e
No known key found for this signature in database
GPG key ID: 2CEAFD2671262EC2

View file

@ -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()