Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
416c9cff
Commit
416c9cff
authored
Oct 08, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed to display error on error handling for emit join method
parent
6d49b7f4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
public_new/js/sockets/chat-websocket.js
+2
-2
No files found.
public_new/js/sockets/chat-websocket.js
View file @
416c9cff
...
@@ -153,7 +153,7 @@ CHAT_SOCKET.emitJoin = function (
...
@@ -153,7 +153,7 @@ CHAT_SOCKET.emitJoin = function (
socket
.
emit
(
SOCKET_KEY
.
JOIN
,
joinInfo
,
function
(
err
)
{
socket
.
emit
(
SOCKET_KEY
.
JOIN
,
joinInfo
,
function
(
err
)
{
if
(
err
)
{
if
(
err
)
{
if
(
needsHandlingError
)
{
if
(
needsHandlingError
)
{
errorHandlingForEmitJoin
();
errorHandlingForEmitJoin
(
err
);
}
}
if
(
needsDismissLoadingIndicator
)
{
if
(
needsDismissLoadingIndicator
)
{
Common
.
dismissLoadingIndicator
();
Common
.
dismissLoadingIndicator
();
...
@@ -168,7 +168,7 @@ CHAT_SOCKET.emitJoin = function (
...
@@ -168,7 +168,7 @@ CHAT_SOCKET.emitJoin = function (
});
});
};
};
var
errorHandlingForEmitJoin
=
function
()
{
var
errorHandlingForEmitJoin
=
function
(
err
)
{
// #36174
// #36174
$
(
"#customAlertTitle"
).
text
(
err
);
$
(
"#customAlertTitle"
).
text
(
err
);
$
(
"#customAlertOk"
).
text
(
getLocalizedString
(
"yesTitle"
));
$
(
"#customAlertOk"
).
text
(
getLocalizedString
(
"yesTitle"
));
...
...
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