Commit 5db7c221d82a43c187677d1218075f5a926882e3

Authored by Victor Costa
1 parent 3ceb80ea

site_tour: set cookie expiration date

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
plugins/site_tour/public/main.js
... ... @@ -9,7 +9,7 @@ var siteTourPlugin = (function() {
9 9 }
10 10  
11 11 function mark(name) {
12   - jQuery.cookie("_noosfero_.sitetour." + name, 1);
  12 + jQuery.cookie("_noosfero_.sitetour." + name, 1, {expires: 365});
13 13 if(userData.login) {
14 14 jQuery.post('/plugin/site_tour/public/mark_action', {action_name: name}, function(data) { });
15 15 }
... ...