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
6e443179
Commit
6e443179
authored
Jun 08, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'communication/bug-pip' into 'develop'
iOS文書協業でPIPをドラッグできないバグを修正 See merge request
!165
parents
b4450c27
57334f9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
public_new/js/share.js
+16
-3
No files found.
public_new/js/share.js
View file @
6e443179
...
@@ -232,6 +232,7 @@ $(function () {
...
@@ -232,6 +232,7 @@ $(function () {
coview_api
.
addEventListener
(
"start"
,
function
()
{
coview_api
.
addEventListener
(
"start"
,
function
()
{
console
.
log
(
"=============> START : share start"
);
console
.
log
(
"=============> START : share start"
);
scrollLockON
();
$
(
"#loadingIndicator"
).
removeClass
(
"full_active"
);
$
(
"#loadingIndicator"
).
removeClass
(
"full_active"
);
});
});
...
@@ -484,17 +485,28 @@ function changeCollaboration(changeCollaborationType) {
...
@@ -484,17 +485,28 @@ function changeCollaboration(changeCollaborationType) {
fw
.
sendToMsg
(
'others'
,
'CHANGE_COLLABORATION'
,
{
"collaborationType"
:
changeCollaborationType
,
"newMeetingId"
:
newMeetingId
});
fw
.
sendToMsg
(
'others'
,
'CHANGE_COLLABORATION'
,
{
"collaborationType"
:
changeCollaborationType
,
"newMeetingId"
:
newMeetingId
});
}
}
document
.
addEventListener
(
'touchmove'
,
function
(
e
)
{
var
scrollLock
=
function
(
e
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
$
(
e
.
target
).
closest
(
'.add_user_modal'
).
length
>
0
if
(
$
(
e
.
target
).
closest
(
'.add_user_modal'
).
length
>
0
||
$
(
e
.
target
).
closest
(
'#overlay_user_list'
).
length
>
0
)
||
$
(
e
.
target
).
closest
(
'#overlay_user_list'
).
length
>
0
||
$
(
e
.
target
).
closest
(
'.pip_indicator'
).
length
>
0
)
{
{
e
.
stopPropagation
();
e
.
stopPropagation
();
}
else
{
}
else
{
e
.
preventDefault
();
e
.
preventDefault
();
}
}
}
}
},
{
passive
:
false
});
}
let
collaboScreen
=
document
.
getElementById
(
'collabo_main'
);
function
scrollLockON
()
{
collaboScreen
.
addEventListener
(
'touchmove'
,
scrollLock
,
{
passive
:
false
});
}
function
scrollLockOFF
()
{
collaboScreen
.
removeEventListener
(
'touchmove'
,
scrollLock
,
{
passive
:
false
});
}
function
initCollaborationUI
(
changeCollaborationType
){
function
initCollaborationUI
(
changeCollaborationType
){
$
(
'#coviewEraserCtrBtn'
).
click
();
$
(
'#coviewEraserCtrBtn'
).
click
();
...
@@ -564,6 +576,7 @@ function initCollaborationUI(changeCollaborationType){
...
@@ -564,6 +576,7 @@ function initCollaborationUI(changeCollaborationType){
}
}
function
Coview_exitCollaboration
(
isDocument
=
false
)
{
function
Coview_exitCollaboration
(
isDocument
=
false
)
{
scrollLockOFF
();
if
(
isDocument
)
{
if
(
isDocument
)
{
if
(
CHAT_UTIL
.
isIOS
())
{
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
exitMeetingRoom
.
postMessage
({});
webkit
.
messageHandlers
.
exitMeetingRoom
.
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