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
7366bb70
Commit
7366bb70
authored
May 26, 2015
by
thierrytiti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MUC: missing toggle Call handler and function
the Call button is visible but no action is done
parent
0e47e72c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
converse.js
converse.js
+10
-1
docs/CHANGES.rst
docs/CHANGES.rst
+2
-0
docs/source/configuration.rst
docs/source/configuration.rst
+1
-1
No files found.
converse.js
View file @
7366bb70
...
...
@@ -2358,6 +2358,7 @@
'
click .toggle-smiley
'
:
'
toggleEmoticonMenu
'
,
'
click .toggle-smiley ul li
'
:
'
insertEmoticon
'
,
'
click .toggle-clear
'
:
'
clearChatRoomMessages
'
,
'
click .toggle-call
'
:
'
toggleCall
'
,
'
click .toggle-participants a
'
:
'
toggleOccupants
'
,
'
keypress textarea.chat-textarea
'
:
'
keyPressed
'
,
'
mousedown .dragresize-tm
'
:
'
onDragResizeStart
'
...
...
@@ -2427,7 +2428,15 @@
this
.
toggleOccupants
();
return
this
;
},
toggleCall
:
function
(
ev
)
{
ev
.
stopPropagation
();
converse
.
emit
(
'
callButtonClicked
'
,
{
connection
:
converse
.
connection
,
model
:
this
.
model
});
},
toggleOccupants
:
function
(
ev
)
{
if
(
ev
)
{
ev
.
preventDefault
();
...
...
docs/CHANGES.rst
View file @
7366bb70
...
...
@@ -15,6 +15,8 @@ Changelog
* CSS fix: room-info bug on hover after room description loaded [thierrytiti]
* I18N: Autodetection of User Locale if no i18n setting is set. [thierrytiti]
* CSS: Fonts Path: editabable $font-path via sass/variables.scss [thierrytiti]
* MUC: missing toggle Call handler and function [thierrytiti]
* Updated documentation about call [thierrytiti]
0.9.3 (2015-05-01)
------------------
...
...
docs/source/configuration.rst
View file @
7366bb70
...
...
@@ -528,7 +528,7 @@ Allows you to show or hide buttons on the chat boxes' toolbars.
Provides a button with a picture of a telephone on it.
When the call button is pressed, it will emit an event that can be used by a third-party library to initiate a call.::
converse.on('callButtonClicked', function(event, data) {
converse.
listen.
on('callButtonClicked', function(event, data) {
console.log('Strophe connection is', data.connection);
console.log('Bare buddy JID is', data.model.get('jid'));
// ... Third-party library code ...
...
...
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