set default path for all calls to Cookies.set()
This commit is contained in:
parent
67d2b2acb3
commit
1c0213f28e
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@
|
|||
$document = $(document);
|
||||
$window = $(window);
|
||||
$body = $('body');
|
||||
|
||||
// Set the default path for all cookies to GitLab's root directory
|
||||
Cookies.defaults.path = gon.relative_url_root || '/';
|
||||
|
||||
gl.utils.preventDisabledButtons();
|
||||
bootstrapBreakpoint = bp.getBreakpointSize();
|
||||
$(".nav-sidebar").niceScroll({
|
||||
|
|
Loading…
Reference in a new issue