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
f5fd284e
Commit
f5fd284e
authored
May 24, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ホスト権限が更新された場合ペン状態をOFFにする
parent
697b7184
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
public_new/js/collaboration.js
+8
-0
public_new/js/share.js
+4
-0
No files found.
public_new/js/collaboration.js
View file @
f5fd284e
...
...
@@ -134,3 +134,11 @@ $(function () {
}
})
});
function
penOff
()
{
if
(
$
(
'#penBtn'
).
hasClass
(
'bg_blue'
))
{
$
(
'#coviewPenCtrBtn'
).
click
();
$
(
'#penBtn'
).
addClass
(
'bg_red'
);
$
(
'#penBtn'
).
removeClass
(
'bg_blue'
);
}
};
public_new/js/share.js
View file @
f5fd284e
...
...
@@ -176,6 +176,8 @@ $(function () {
}
else
{
Coview_changeHost
(
data
.
payload
.
loginId
);
}
}
else
if
(
data
.
type
===
"API_SEND_OWNER_CHANGE_COMPLETE"
)
{
penOff
();
}
});
});
...
...
@@ -407,6 +409,7 @@ function changeCollaboration(changeCollaborationType) {
coview_api
.
ChangeCollaboration
(
'audio'
);
break
;
}
penOff
();
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
changeCollaboration
.
postMessage
({
"changeCollaborationType"
:
changeCollaborationType
,
"meetingId"
:
newMeetingId
});
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
...
...
@@ -423,6 +426,7 @@ function initCollaborationUI(changeCollaborationType){
$
(
".menu_btn"
).
click
();
}
$
(
"link[href='./css/collaboration_board.css']"
).
remove
();
penOff
();
switch
(
changeCollaborationType
)
{
case
COLLABORATION_TYPE
.
AUDIO
:
$
(
'.collaboration_contents'
).
addClass
(
'none'
);
...
...
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