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
9b00fd4c
Commit
9b00fd4c
authored
Jul 30, 2021
by
Kim Peace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed to hand over data parameter for update host
parent
22eccd64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
public_new/js/views/collaboration/collaboration.js
+10
-0
public_new/js/views/collaboration/fermi-web-socket-message-handler.js
+3
-3
No files found.
public_new/js/views/collaboration/collaboration.js
View file @
9b00fd4c
...
...
@@ -50,6 +50,16 @@ CollaborationUI.bindDisplayUsersButton = function () {
});
};
CollaborationUI
.
userListSlideOut
=
function
()
{
const
w
=
$
(
".user_btn"
).
width
();
$
(
".user_btn"
).
removeClass
(
"hide"
);
$
(
"#overlay_user_list.overlay"
)
.
removeClass
(
"slidein"
)
.
css
({
transform
:
"translateX("
&
-
w
&
")"
});
scrollTo
(
0
,
0
);
CollaborationUI
.
bindDisableScroll
();
};
CollaborationUI
.
bindChangeHostButton
=
function
()
{
$
(
".ch_host_btn"
).
click
(
function
()
{
const
target
=
$
(
this
).
val
();
...
...
public_new/js/views/collaboration/fermi-web-socket-message-handler.js
View file @
9b00fd4c
...
...
@@ -42,7 +42,7 @@ FermiWebSocketMessageHandler.handleMessagesToSelf = function (data) {
// 自分自身の場合
switch
(
data
.
type
)
{
case
"HOST_CHANGE_REQUEST"
:
FermiWebSocketMessageHandler
.
hostChangeRequest
();
FermiWebSocketMessageHandler
.
hostChangeRequest
(
data
);
break
;
case
"PIP_END_REQUEST"
:
if
(
globalUserInfo
.
collaborationType
==
COLLABORATION_TYPE
.
DOCUMENT
)
{
...
...
@@ -168,8 +168,8 @@ FermiWebSocketMessageHandler.captureRequest = function (data) {
};
// HOST_CHANGE_REQUEST
FermiWebSocketMessageHandler
.
hostChangeRequest
=
function
()
{
FermiWebSocketBridge
.
requestHostChange
(
);
FermiWebSocketMessageHandler
.
hostChangeRequest
=
function
(
data
)
{
FermiWebSocketBridge
.
hostChangeResponse
(
data
);
};
// HOST_CHANGE_RESPONSE
...
...
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