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
06755e21
Commit
06755e21
authored
Jun 01, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
コードレビュー対応
parent
4acb8d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
28 deletions
+17
-28
public_new/js/chat-ui.js
+17
-28
No files found.
public_new/js/chat-ui.js
View file @
06755e21
...
...
@@ -2563,35 +2563,24 @@ CHAT_UI.refreshForOffline = function() {
$
(
'#room_name_change_button'
).
addClass
(
'ui-state-disabled'
);
$
(
'#add_user_button'
).
addClass
(
'ui-state-disabled'
);
$
(
'.fa-download'
).
hide
();
if
(
typeof
coview_api
!=
"undefined"
)
{
if
(
g_isMainMan
)
{
alert
(
getLocalizedString
(
"err_weak_network_exit_collaboration"
));
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_UI
.
joinRoom
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
name
);
}
else
{
if
(
typeof
android
!=
"undefined"
)
{
android
.
openCommunicationHome
();
}
else
{
webkit
.
messageHandlers
.
openCommunicationHome
.
postMessage
({});
}
}
if
(
typeof
coview_api
==
"undefined"
)
{
return
}
var
alertString
=
""
;
if
(
g_isMainMan
)
{
alertString
=
getLocalizedString
(
"err_weak_network_exit_collaboration"
)
}
else
{
alertString
=
getLocalizedString
(
"err_weak_network_exit_collaboration"
)
}
alert
(
alertString
);
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_UI
.
joinRoom
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
name
);
}
else
{
if
(
typeof
android
!=
"undefined"
)
{
android
.
openCommunicationHome
();
}
else
{
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_UI
.
joinRoom
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
name
);
}
else
{
if
(
typeof
android
!=
"undefined"
)
{
android
.
openCommunicationHome
();
}
else
{
webkit
.
messageHandlers
.
openCommunicationHome
.
postMessage
({});
}
}
webkit
.
messageHandlers
.
openCommunicationHome
.
postMessage
({});
}
}
}
...
...
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