diff options
Diffstat (limited to 'app/views/commits/index.html.haml')
-rw-r--r-- | app/views/commits/index.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/commits/index.html.haml b/app/views/commits/index.html.haml index 0e231e4ec2a..f7e8b087b22 100644 --- a/app/views/commits/index.html.haml +++ b/app/views/commits/index.html.haml @@ -13,3 +13,10 @@ %h3{:style => "color:#555"} /#{params[:path]} %div{:id => dom_id(@project)} = render "commits" + + +:javascript + $(function(){ + $.cookie('branch', '#{params[:branch]}', { expires: 1 }); + $.cookie('tag', '#{params[:tag]}', { expires: 1 }); + }); |