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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
public_new/js/chat-ui.js
+5
-16
No files found.
public_new/js/chat-ui.js
View file @
06755e21
...
@@ -2563,23 +2563,14 @@ CHAT_UI.refreshForOffline = function() {
...
@@ -2563,23 +2563,14 @@ CHAT_UI.refreshForOffline = function() {
$
(
'#room_name_change_button'
).
addClass
(
'ui-state-disabled'
);
$
(
'#room_name_change_button'
).
addClass
(
'ui-state-disabled'
);
$
(
'#add_user_button'
).
addClass
(
'ui-state-disabled'
);
$
(
'#add_user_button'
).
addClass
(
'ui-state-disabled'
);
$
(
'.fa-download'
).
hide
();
$
(
'.fa-download'
).
hide
();
if
(
typeof
coview_api
!=
"undefined"
)
{
if
(
typeof
coview_api
==
"undefined"
)
{
return
}
var
alertString
=
""
;
if
(
g_isMainMan
)
{
if
(
g_isMainMan
)
{
alert
(
getLocalizedString
(
"err_weak_network_exit_collaboration"
));
alertString
=
getLocalizedString
(
"err_weak_network_exit_collaboration"
)
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_UI
.
joinRoom
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
name
);
}
else
{
}
else
{
if
(
typeof
android
!=
"undefined"
)
{
alertString
=
getLocalizedString
(
"err_weak_network_exit_collaboration"
)
android
.
openCommunicationHome
();
}
else
{
webkit
.
messageHandlers
.
openCommunicationHome
.
postMessage
({});
}
}
}
}
else
{
alert
(
alertString
);
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
if
(
collaborationJoinFlg
!=
'2'
)
{
if
(
collaborationJoinFlg
!=
'2'
)
{
CHAT_UI
.
joinRoom
(
CHAT_UI
.
joinRoom
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
roomId
,
...
@@ -2592,8 +2583,6 @@ CHAT_UI.refreshForOffline = function() {
...
@@ -2592,8 +2583,6 @@ CHAT_UI.refreshForOffline = function() {
webkit
.
messageHandlers
.
openCommunicationHome
.
postMessage
({});
webkit
.
messageHandlers
.
openCommunicationHome
.
postMessage
({});
}
}
}
}
}
}
}
}
CHAT_UI
.
offlineHandler
=
function
(
e
)
{
CHAT_UI
.
offlineHandler
=
function
(
e
)
{
...
...
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