Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
a7486bcb
Commit
a7486bcb
authored
Nov 23, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed commit time not rendering after initial page load
Closes #24862
parent
8fcdfeae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/commits.js
app/assets/javascripts/commits.js
+4
-2
changelogs/unreleased/fixed-commit-timeago.yml
changelogs/unreleased/fixed-commit-timeago.yml
+4
-0
No files found.
app/assets/javascripts/commits.js
View file @
a7486bcb
/* eslint-disable func-names, space-before-function-paren, wrap-iife, quotes, consistent-return, no-undef, no-return-assign, no-param-reassign, one-var, no-var, one-var-declaration-per-line, no-unused-vars, prefer-template, object-shorthand, comma-dangle, padded-blocks, max-len */
/* eslint-disable func-names, space-before-function-paren, wrap-iife, quotes, consistent-return, no-undef, no-return-assign, no-param-reassign, one-var, no-var, one-var-declaration-per-line, no-unused-vars, prefer-template, object-shorthand, comma-dangle, padded-blocks, max-len
, prefer-arrow-callback
*/
(
function
()
{
(
function
()
{
this
.
CommitsList
=
(
function
()
{
this
.
CommitsList
=
(
function
()
{
function
CommitsList
()
{}
function
CommitsList
()
{}
...
@@ -13,7 +13,9 @@
...
@@ -13,7 +13,9 @@
return
false
;
return
false
;
}
}
});
});
Pager
.
init
(
limit
,
false
);
Pager
.
init
(
limit
,
false
,
false
,
function
()
{
gl
.
utils
.
localTimeAgo
(
$
(
'
.js-timeago
'
));
});
this
.
content
=
$
(
"
#commits-list
"
);
this
.
content
=
$
(
"
#commits-list
"
);
this
.
searchField
=
$
(
"
#commits-search
"
);
this
.
searchField
=
$
(
"
#commits-search
"
);
return
this
.
initSearch
();
return
this
.
initSearch
();
...
...
changelogs/unreleased/fixed-commit-timeago.yml
0 → 100644
View file @
a7486bcb
---
title
:
Fixed commit timeago not rendering after initial page
merge_request
:
author
:
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