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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
a66ddd65
Commit
a66ddd65
authored
Mar 02, 2022
by
PaytonBurdette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate loading icon
Migrate notes loading icon to be pajamas compliant. Changelog: changed
parent
230d6d19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
app/assets/javascripts/deprecated_notes.js
app/assets/javascripts/deprecated_notes.js
+6
-3
No files found.
app/assets/javascripts/deprecated_notes.js
View file @
a66ddd65
...
...
@@ -17,6 +17,7 @@ import { escape, uniqueId } from 'lodash';
import
Vue
from
'
vue
'
;
import
'
~/lib/utils/jquery_at_who
'
;
import
AjaxCache
from
'
~/lib/utils/ajax_cache
'
;
import
{
loadingIconForLegacyJS
}
from
'
~/loading_icon_for_legacy_js
'
;
import
syntaxHighlight
from
'
~/syntax_highlight
'
;
import
CommentTypeDropdown
from
'
~/notes/components/comment_type_dropdown.vue
'
;
import
*
as
constants
from
'
~/notes/constants
'
;
...
...
@@ -1761,9 +1762,11 @@ export default class Notes {
// Show updated comment content temporarily
$noteBodyText
.
html
(
formContent
);
$editingNote
.
removeClass
(
'
is-editing fade-in-full
'
).
addClass
(
'
being-posted fade-in-half
'
);
$editingNote
.
find
(
'
.note-headline-meta a
'
)
.
html
(
'
<span class="spinner align-text-bottom"></span>
'
);
const
$timeAgo
=
$editingNote
.
find
(
'
.note-headline-meta a
'
);
$timeAgo
.
empty
();
$timeAgo
.
append
(
loadingIconForLegacyJS
({
inline
:
true
,
size
:
'
sm
'
}));
// Make request to update comment on server
axios
...
...
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