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
76a8d75b
Commit
76a8d75b
authored
Jun 14, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
43194対応
parent
18edd244
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
2 deletions
+48
-2
public_new/js/chat-ui-collaboration.js
+1
-2
public_new/js/share.js
+47
-0
No files found.
public_new/js/chat-ui-collaboration.js
View file @
76a8d75b
...
...
@@ -124,7 +124,6 @@ CHAT_UI.refreshMyGroupForAddUserInCollaboration = function () {
if
(
IS_ONLINE
==
"true"
)
{
if
(
typeof
android
!=
"undefined"
)
{
android
.
updateGroupInfo
(
"0"
);
android
.
updateMyInfo
();
android
.
updateGroupUser
();
android
.
updateFavorite
();
...
...
@@ -196,7 +195,7 @@ CHAT_UI.refreshAllGroupForAddUserInCollaboration = function (paramGroupId) {
//オンライン状態であればサーバから情報更新。
if
(
IS_ONLINE
==
"true"
)
{
if
(
typeof
android
!=
"undefined"
)
{
android
.
updateGroup
Info
(
groupId
);
android
.
updateGroup
User
(
);
}
else
{
webkit
.
messageHandlers
.
updateGroupInfo
.
postMessage
(
groupId
);
}
...
...
public_new/js/share.js
View file @
76a8d75b
...
...
@@ -314,6 +314,47 @@ document.addEventListener("DOMContentLoaded", function () {
HostRequestFlag
.
DONE
);
}
}
else
if
(
data
.
type
===
"GET_COLLABORATION_TYPE"
&&
g_isMainMan
)
{
fw
.
sendToMsg
(
"others"
,
"GET_COLLABORATION_TYPE_RESPONSE"
,
{
loginId
:
data
.
payload
.
loginId
,
collaborationType
:
joinCollaborationType
,
newMeetingId
:
joinMeetingId
,
});
}
else
if
(
data
.
type
===
"GET_COLLABORATION_TYPE_RESPONSE"
)
{
if
(
data
.
payload
.
loginId
==
globalUserInfo
.
loginId
)
{
if
(
CHAT_UTIL
.
isAndroid
()
&&
data
.
payload
.
collaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
&&
androidVersion
<
ANDROID_SDK_VERSION
.
O
)
{
coview_api
.
HeartBeatUser
(
globalUserInfo
.
loginId
);
alert
(
getLocalizedString
(
"not_support_version"
));
joinCollaborationType
=
COLLABORATION_TYPE
.
CAMERA
;
}
else
{
joinCollaborationType
=
data
.
payload
.
collaborationType
;
}
joinMeetingId
=
data
.
payload
.
newMeetingId
;
initCollaborationUI
(
joinCollaborationType
);
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
joinChangedCollaboration
.
postMessage
({
joinCollaborationType
:
joinCollaborationType
,
meetingId
:
data
.
payload
.
newMeetingId
,
});
if
(
joinCollaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
)
{
webkit
.
messageHandlers
.
joinMeetingRoom
.
postMessage
(
data
.
payload
.
newMeetingId
);
}
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
joinChangedCollaboration
(
joinCollaborationType
,
data
.
payload
.
newMeetingId
);
if
(
joinCollaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
)
{
android
.
joinMeetingRoom
(
data
.
payload
.
newMeetingId
);
}
}
}
}
});
});
...
...
@@ -321,6 +362,11 @@ document.addEventListener("DOMContentLoaded", function () {
coview_api
.
addEventListener
(
"start"
,
function
()
{
console
.
log
(
"=============> START : share start"
);
scrollLockON
();
if
(
collaborationJoinFlg
==
"2"
)
{
fw
.
sendToMsg
(
"others"
,
"GET_COLLABORATION_TYPE"
,
{
loginId
:
globalUserInfo
.
loginId
,
});
}
$
(
"#loadingIndicator"
).
removeClass
(
"full_active"
);
});
...
...
@@ -575,6 +621,7 @@ function changeCollaboration(changeCollaborationType) {
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
android
.
changeCollaboration
(
changeCollaborationType
,
newMeetingId
);
}
joinMeetingId
=
newMeetingId
;
fw
.
sendToMsg
(
"others"
,
"CHANGE_COLLABORATION"
,
{
collaborationType
:
changeCollaborationType
,
newMeetingId
:
newMeetingId
,
...
...
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