Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
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
nexedi
converse.js
Commits
6a419cc1
Commit
6a419cc1
authored
Jun 18, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix. Properly insert error messages and spinner
now that messages appear in reverse order due to flexbox
parent
1879c18c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/converse-chatview.js
src/converse-chatview.js
+3
-3
No files found.
src/converse-chatview.js
View file @
6a419cc1
...
...
@@ -570,7 +570,7 @@ converse.plugins.add('converse-chatview', {
showErrorMessage
(
message
)
{
this
.
content
.
insertAdjacentHTML
(
'
beforeend
'
,
'
afterBegin
'
,
tpl_error_message
({
'
message
'
:
message
,
'
isodate
'
:
(
new
Date
()).
toISOString
()
})
);
},
...
...
@@ -578,9 +578,9 @@ converse.plugins.add('converse-chatview', {
addSpinner
(
append
=
false
)
{
if
(
_
.
isNull
(
this
.
el
.
querySelector
(
'
.spinner
'
)))
{
if
(
append
)
{
this
.
content
.
insertAdjacentHTML
(
'
beforeend
'
,
tpl_spinner
());
this
.
content
.
insertAdjacentHTML
(
'
afterBegin
'
,
tpl_spinner
());
}
else
{
this
.
content
.
insertAdjacentHTML
(
'
afterbegin
'
,
tpl_spinner
());
this
.
content
.
insertAdjacentHTML
(
'
beforeEnd
'
,
tpl_spinner
());
}
}
},
...
...
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