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
8361eed9
Commit
8361eed9
authored
Jun 21, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
43271対応
parent
ea1457f8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
4 deletions
+15
-4
public_new/chat.html
+6
-1
public_new/chat_change_room_name.html
+0
-2
public_new/chat_room.html
+6
-0
public_new/js/share.js
+3
-1
No files found.
public_new/chat.html
View file @
8361eed9
...
@@ -142,7 +142,12 @@
...
@@ -142,7 +142,12 @@
PLATFORM
=
platform
;
PLATFORM
=
platform
;
IS_MOBILE
=
isMobile
;
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
IS_ONLINE
=
isOnline
;
console
.
log
(
"onChat"
);
if
(
CHAT_UTIL
.
isAndroid
())
{
var
needHostAlert
=
android
.
getExitHostAlert
();
if
(
needHostAlert
)
{
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
}
}
CHAT_UI
.
refreshRoomList
(
ChatRoomType
.
GROUP
);
CHAT_UI
.
refreshRoomList
(
ChatRoomType
.
GROUP
);
CHAT_UI
.
dismissLoadingIndicator
();
CHAT_UI
.
dismissLoadingIndicator
();
};
};
...
...
public_new/chat_change_room_name.html
View file @
8361eed9
...
@@ -56,7 +56,6 @@
...
@@ -56,7 +56,6 @@
</div>
</div>
</main>
</main>
<div
id=
"loadingArea"
></div>
<script
src=
"./js/libs/jquery-3.3.1.min.js"
></script>
<script
src=
"./js/libs/jquery-3.3.1.min.js"
></script>
<script
src=
"./js/libs/socket.io.js"
></script>
<script
src=
"./js/libs/socket.io.js"
></script>
<script
src=
"./js/libs/moment.js"
></script>
<script
src=
"./js/libs/moment.js"
></script>
...
@@ -92,7 +91,6 @@
...
@@ -92,7 +91,6 @@
let
IS_MOBILE
=
true
;
let
IS_MOBILE
=
true
;
let
IS_ONLINE
=
false
;
let
IS_ONLINE
=
false
;
let
roomId
=
0
;
let
roomId
=
0
;
$
(
"#loadingArea"
).
load
(
"./loading.html"
);
if
(
typeof
(
android
)
!=
"undefined"
)
{
if
(
typeof
(
android
)
!=
"undefined"
)
{
android
.
getLoginParameter
();
android
.
getLoginParameter
();
android
.
getGlobalParameter
();
android
.
getGlobalParameter
();
...
...
public_new/chat_room.html
View file @
8361eed9
...
@@ -208,6 +208,12 @@
...
@@ -208,6 +208,12 @@
PLATFORM
=
platform
;
PLATFORM
=
platform
;
IS_MOBILE
=
isMobile
;
IS_MOBILE
=
isMobile
;
IS_ONLINE
=
isOnline
;
IS_ONLINE
=
isOnline
;
if
(
CHAT_UTIL
.
isAndroid
())
{
var
needHostAlert
=
android
.
getExitHostAlert
();
if
(
needHostAlert
)
{
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
}
}
CHAT_UI
.
loadMessages
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
roomName
);
CHAT_UI
.
loadMessages
(
CHAT
.
globalLoginParameter
.
roomId
,
CHAT
.
globalLoginParameter
.
roomName
);
};
};
</script>
</script>
...
...
public_new/js/share.js
View file @
8361eed9
...
@@ -390,6 +390,9 @@ document.addEventListener("DOMContentLoaded", function () {
...
@@ -390,6 +390,9 @@ document.addEventListener("DOMContentLoaded", function () {
if
(
joinCollaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
)
{
if
(
joinCollaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
)
{
isDocument
=
true
;
isDocument
=
true
;
}
}
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
setExitHostAlert
();
}
if
(
isDocument
)
{
if
(
isDocument
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
exitMeetingRoom
.
postMessage
({});
webkit
.
messageHandlers
.
exitMeetingRoom
.
postMessage
({});
...
@@ -414,7 +417,6 @@ document.addEventListener("DOMContentLoaded", function () {
...
@@ -414,7 +417,6 @@ document.addEventListener("DOMContentLoaded", function () {
webkit
.
messageHandlers
.
showExitHostAlert
.
postMessage
({});
webkit
.
messageHandlers
.
showExitHostAlert
.
postMessage
({});
return
;
return
;
}
}
alert
(
getLocalizedString
(
"inform_exit_host_collaboration"
));
$
(
"#loadingIndicator"
).
removeClass
(
"full_active"
);
$
(
"#loadingIndicator"
).
removeClass
(
"full_active"
);
});
});
...
...
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