BigW Consortium Gitlab

Commit 9d307ee0 by Phil Hughes

Fixed issue with cookie working across whole site

parent 9350de6f
......@@ -27,7 +27,7 @@
}
},
ready: function () {
this.sortable = Sortable.create(this.$el.parentNode, {
Sortable.create(this.$el.parentNode, {
group: 'boards',
animation: 150,
draggable: '.is-draggable',
......@@ -38,9 +38,6 @@
BoardsStore.moveList(e.oldIndex, e.newIndex);
}
});
},
beforeDestroy: function () {
this.sortable.destroy();
}
});
......
......@@ -29,7 +29,7 @@
},
},
ready: function () {
this.sortable = Sortable.create(this.$els.list, {
Sortable.create(this.$els.list, {
sort: false,
group: 'issues',
disabled: this.disabled,
......@@ -55,9 +55,6 @@
this.loadFromLastId();
}
};
},
beforeDestroy: function () {
this.sortable.destroy();
}
});
......
......@@ -63,7 +63,6 @@
this.removeList('blank');
$.cookie('issue_board_welcome_hidden', 'true', {
path: '/',
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