Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
eeef46fd
Commit
eeef46fd
authored
Jan 12, 2017
by
Alexey.Musinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile coautoring events
parent
e1308a72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
cell/native/native.js
cell/native/native.js
+16
-1
No files found.
cell/native/native.js
View file @
eeef46fd
...
@@ -4026,7 +4026,7 @@ function OfflineEditor () {
...
@@ -4026,7 +4026,7 @@ function OfflineEditor () {
asc_WriteUsers
(
users
,
stream
);
asc_WriteUsers
(
users
,
stream
);
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
20101
,
stream
);
// ASC_COAUTH_EVENT_TYPE_PARTICIPANTS_CHANGED
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
20101
,
stream
);
// ASC_COAUTH_EVENT_TYPE_PARTICIPANTS_CHANGED
});
});
_api
.
asc_registerCallback
(
"
asc_onParticipantsChanged
"
,
function
(
users
)
{
_api
.
asc_registerCallback
(
"
asc_onParticipantsChanged
"
,
function
(
users
)
{
var
stream
=
global_memory_stream_menu
;
var
stream
=
global_memory_stream_menu
;
stream
[
"
ClearNoAttack
"
]();
stream
[
"
ClearNoAttack
"
]();
...
@@ -4038,6 +4038,21 @@ function OfflineEditor () {
...
@@ -4038,6 +4038,21 @@ function OfflineEditor () {
t
.
asc_WriteAllWorksheets
(
true
,
true
);
t
.
asc_WriteAllWorksheets
(
true
,
true
);
});
});
_api
.
asc_registerCallback
(
"
asc_onWorkbookLocked
"
,
function
(
locked
)
{
var
stream
=
global_memory_stream_menu
;
stream
[
"
ClearNoAttack
"
]();
stream
[
"
WriteBool
"
](
locked
);
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
20104
,
stream
);
// ASC_COAUTH_EVENT_TYPE_WORKBOOK_LOCKED
});
_api
.
asc_registerCallback
(
"
asc_onWorksheetLocked
"
,
function
(
index
,
locked
)
{
var
stream
=
global_memory_stream_menu
;
stream
[
"
ClearNoAttack
"
]();
stream
[
"
WriteLong
"
](
index
);
stream
[
"
WriteBool
"
](
locked
);
window
[
"
native
"
][
"
OnCallMenuEvent
"
](
20105
,
stream
);
// ASC_COAUTH_EVENT_TYPE_WORKSHEET_LOCKED
});
_api
.
asc_registerCallback
(
"
asc_onGetEditorPermissions
"
,
function
(
state
)
{
_api
.
asc_registerCallback
(
"
asc_onGetEditorPermissions
"
,
function
(
state
)
{
var
rData
=
{
var
rData
=
{
...
...
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