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
e5006b00
Commit
e5006b00
authored
Jan 29, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1000. Scroll down when maximizing a chat room
parent
0c7b6168
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
CHANGES.md
CHANGES.md
+5
-0
dev.html
dev.html
+2
-2
src/converse-chatview.js
src/converse-chatview.js
+1
-5
src/converse-muc.js
src/converse-muc.js
+4
-3
No files found.
CHANGES.md
View file @
e5006b00
...
@@ -8,8 +8,13 @@
...
@@ -8,8 +8,13 @@
-
#993
`moment.format`
is not a function error when sending a message.
-
#993
`moment.format`
is not a function error when sending a message.
-
#994 TypeError when using the
`user.login`
API.
-
#994 TypeError when using the
`user.login`
API.
-
#995
`ChildNode.replaceWith`
is not available in Internet Explorer or Safari. Use
`Node.replaceChild`
instead.
-
#995
`ChildNode.replaceWith`
is not available in Internet Explorer or Safari. Use
`Node.replaceChild`
instead.
-
#1000 Scroll to bottom when maximizing a chat room.
-
#1003 Don't list MUC domain in rooms list.
-
#1003 Don't list MUC domain in rooms list.
### Translation changes
-
Updated Dutch, French, Japanese, Norwegian Bokmål and Ukrainian translations
## 3.3.1 (2018-01-18)
## 3.3.1 (2018-01-18)
### UI/UX changes
### UI/UX changes
...
...
dev.html
View file @
e5006b00
...
@@ -65,8 +65,8 @@
...
@@ -65,8 +65,8 @@
'
discuss@conference.conversejs.org
'
'
discuss@conference.conversejs.org
'
],
],
auto_reconnect
:
true
,
auto_reconnect
:
true
,
bosh_service_url
:
'
http://chat.example.org:5280/http-bind/
'
,
//
bosh_service_url: 'http://chat.example.org:5280/http-bind/',
//
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
bosh_service_url
:
'
https://conversejs.org/http-bind/
'
,
// Please use this connection manager only for testing purposes
message_archiving
:
'
always
'
,
message_archiving
:
'
always
'
,
show_controlbox_by_default
:
true
,
show_controlbox_by_default
:
true
,
strict_plugin_dependencies
:
false
,
strict_plugin_dependencies
:
false
,
...
...
src/converse-chatview.js
View file @
e5006b00
...
@@ -992,11 +992,7 @@
...
@@ -992,11 +992,7 @@
if
(
focus
)
{
this
.
focus
();
}
if
(
focus
)
{
this
.
focus
();
}
return
;
return
;
}
}
const
that
=
this
;
u
.
fadeIn
(
this
.
el
,
_
.
bind
(
this
.
afterShown
,
this
,
focus
));
u
.
fadeIn
(
this
.
el
,
function
()
{
that
.
afterShown
();
if
(
focus
)
{
that
.
focus
();
}
});
},
},
show
(
focus
)
{
show
(
focus
)
{
...
...
src/converse-muc.js
View file @
e5006b00
...
@@ -553,7 +553,7 @@
...
@@ -553,7 +553,7 @@
}));
}));
},
},
afterShown
()
{
afterShown
(
focus
)
{
/* Override from converse-chatview, specifically to avoid
/* Override from converse-chatview, specifically to avoid
* the 'active' chat state from being sent out prematurely.
* the 'active' chat state from being sent out prematurely.
*
*
...
@@ -565,6 +565,8 @@
...
@@ -565,6 +565,8 @@
this
.
model
.
save
();
this
.
model
.
save
();
}
}
this
.
occupantsview
.
setOccupantsHeight
();
this
.
occupantsview
.
setOccupantsHeight
();
this
.
scrollDown
();
if
(
focus
)
{
this
.
focus
();
}
},
},
show
(
focus
)
{
show
(
focus
)
{
...
@@ -575,8 +577,7 @@
...
@@ -575,8 +577,7 @@
// Override from converse-chatview in order to not use
// Override from converse-chatview in order to not use
// "fadeIn", which causes flashing.
// "fadeIn", which causes flashing.
u
.
showElement
(
this
.
el
);
u
.
showElement
(
this
.
el
);
this
.
afterShown
();
this
.
afterShown
(
focus
);
if
(
focus
)
{
this
.
focus
();
}
},
},
afterConnected
()
{
afterConnected
()
{
...
...
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