BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ec5ba730
Commit
ec5ba730
authored
Apr 14, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'add-cookie-expirations-to-callouts' into 'master'
Add expirations to CA and user callouts Closes #30267 See merge request !10568
parents
e04aef5c
0636320e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cycle_analytics_bundle.js
...ets/javascripts/cycle_analytics/cycle_analytics_bundle.js
+1
-1
user_callout.js
app/assets/javascripts/user_callout.js
+1
-1
No files found.
app/assets/javascripts/cycle_analytics/cycle_analytics_bundle.js
View file @
ec5ba730
...
...
@@ -125,7 +125,7 @@ $(() => {
},
dismissOverviewDialog
()
{
this
.
isOverviewDialogDismissed
=
true
;
Cookies
.
set
(
OVERVIEW_DIALOG_COOKIE
,
'1'
);
Cookies
.
set
(
OVERVIEW_DIALOG_COOKIE
,
'1'
,
{
expires
:
365
}
);
},
},
});
...
...
app/assets/javascripts/user_callout.js
View file @
ec5ba730
...
...
@@ -18,7 +18,7 @@ export default class UserCallout {
dismissCallout
(
e
)
{
const
$currentTarget
=
$
(
e
.
currentTarget
);
Cookies
.
set
(
USER_CALLOUT_COOKIE
,
'true'
);
Cookies
.
set
(
USER_CALLOUT_COOKIE
,
'true'
,
{
expires
:
365
}
);
if
(
$currentTarget
.
hasClass
(
'close'
))
{
this
.
userCalloutBody
.
remove
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment