Commit 73d17ca11da2fbaaa46903cc700089088797891e

Authored by Victor Costa
1 parent 158beea2

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 }
... ...