Commit 9d307ee0 authored by Phil Hughes's avatar Phil Hughes

Fixed issue with cookie working across whole site

parent 9350de6f
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
} }
}, },
ready: function () { ready: function () {
this.sortable = Sortable.create(this.$el.parentNode, { Sortable.create(this.$el.parentNode, {
group: 'boards', group: 'boards',
animation: 150, animation: 150,
draggable: '.is-draggable', draggable: '.is-draggable',
...@@ -38,9 +38,6 @@ ...@@ -38,9 +38,6 @@
BoardsStore.moveList(e.oldIndex, e.newIndex); BoardsStore.moveList(e.oldIndex, e.newIndex);
} }
}); });
},
beforeDestroy: function () {
this.sortable.destroy();
} }
}); });
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
}, },
}, },
ready: function () { ready: function () {
this.sortable = Sortable.create(this.$els.list, { Sortable.create(this.$els.list, {
sort: false, sort: false,
group: 'issues', group: 'issues',
disabled: this.disabled, disabled: this.disabled,
...@@ -55,9 +55,6 @@ ...@@ -55,9 +55,6 @@
this.loadFromLastId(); this.loadFromLastId();
} }
}; };
},
beforeDestroy: function () {
this.sortable.destroy();
} }
}); });
......
...@@ -63,7 +63,6 @@ ...@@ -63,7 +63,6 @@
this.removeList('blank'); this.removeList('blank');
$.cookie('issue_board_welcome_hidden', 'true', { $.cookie('issue_board_welcome_hidden', 'true', {
path: '/',
expires: 365 * 10 expires: 365 * 10
}); });
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment