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
d0ee41d4
Commit
d0ee41d4
authored
Dec 29, 2019
by
Christoph Scholz
Committed by
JC Brand
Jan 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
focus now on jid field after controlbox is loaded
parent
36e56052
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
CHANGES.md
CHANGES.md
+1
-0
docs/source/configuration.rst
docs/source/configuration.rst
+4
-2
src/converse-controlbox.js
src/converse-controlbox.js
+3
-0
No files found.
CHANGES.md
View file @
d0ee41d4
...
...
@@ -3,6 +3,7 @@
-
#1313: Stylistic improvements to the send button
-
#1793: Send button doesn't appear in Firefox in 1:1 chats
-
#1822: Don't log error if user has no bookmarks
-
#1820: Set focus on jid field after controlbox is loaded
## 6.0.0 (2020-01-09)
...
...
docs/source/configuration.rst
View file @
d0ee41d4
...
...
@@ -265,7 +265,9 @@ auto_focus
If set to ``true``, the textarea for composing chat messages will automatically
become focused as soon as a chat is opened. This means you don't need to click
the textarea first before starting to type a message.
the textarea first before starting to type a message. This also applies to the
username field which is automatically focused after the login controlbox is
loaded.
For applications where chat is not the main feature, automatic focus of the
chat box might be undesired.
...
...
@@ -789,7 +791,7 @@ enable_smacks
Determines whether `XEP-0198 Stream Management <https://xmpp.org/extensions/xep-0198.html>`_
support is turned on or not.
Recommended to set to ``true`` if a websocket connection is used.
Recommended to set to ``true`` if a websocket connection is used.
Please see the :ref:`websocket-url` configuration setting.
filter_by_resource
...
...
src/converse-controlbox.js
View file @
d0ee41d4
...
...
@@ -257,6 +257,9 @@ converse.plugins.add('converse-controlbox', {
this
.
insertBrandHeading
();
}
this
.
loginpanel
.
initPopovers
();
if
(
_converse
.
auto_focus
)
{
this
.
loginpanel
.
el
.
querySelector
(
'
#converse-login-jid
'
).
focus
();
}
return
this
;
},
...
...
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