Commit 416c9cff by Kim Peace

Fixed to display error on error handling for emit join method

parent 6d49b7f4
......@@ -153,7 +153,7 @@ CHAT_SOCKET.emitJoin = function (
socket.emit(SOCKET_KEY.JOIN, joinInfo, function (err) {
if (err) {
if (needsHandlingError) {
errorHandlingForEmitJoin();
errorHandlingForEmitJoin(err);
}
if (needsDismissLoadingIndicator) {
Common.dismissLoadingIndicator();
......@@ -168,7 +168,7 @@ CHAT_SOCKET.emitJoin = function (
});
};
var errorHandlingForEmitJoin = function () {
var errorHandlingForEmitJoin = function (err) {
// #36174
$("#customAlertTitle").text(err);
$("#customAlertOk").text(getLocalizedString("yesTitle"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment