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
09f46ed7
Commit
09f46ed7
authored
May 23, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
82c8a808
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
7 deletions
+21
-7
common/Local/common.js
common/Local/common.js
+2
-2
common/apiBase.js
common/apiBase.js
+16
-4
word/api.js
word/api.js
+3
-1
No files found.
common/Local/common.js
View file @
09f46ed7
...
@@ -279,8 +279,8 @@ window["DesktopOfflineAppDocumentSignatures"] = function(_json)
...
@@ -279,8 +279,8 @@ window["DesktopOfflineAppDocumentSignatures"] = function(_json)
window
[
"
OnNativeReturnCallback
"
]
=
function
(
name
,
obj
)
window
[
"
OnNativeReturnCallback
"
]
=
function
(
name
,
obj
)
{
{
console
.
log
(
name
)
;
var
_api
=
window
[
"
Asc
"
][
"
editor
"
]
?
window
[
"
Asc
"
][
"
editor
"
]
:
window
.
editor
;
console
.
log
(
obj
);
_api
.
sendEvent
(
name
,
obj
);
};
};
// меняем среду
// меняем среду
...
...
common/apiBase.js
View file @
09f46ed7
...
@@ -1305,16 +1305,28 @@
...
@@ -1305,16 +1305,28 @@
return
_sigs_ret
;
return
_sigs_ret
;
};
};
baseEditorsApi
.
prototype
.
asc_Sign
=
function
(
guid
)
baseEditorsApi
.
prototype
.
asc_Sign
=
function
(
id
,
guid
)
{
{
if
(
window
[
"
AscDesktopEditor
"
])
if
(
window
[
"
AscDesktopEditor
"
])
window
[
"
AscDesktopEditor
"
][
"
Sign
"
](
guid
);
window
[
"
AscDesktopEditor
"
][
"
Sign
"
](
id
,
guid
);
};
};
baseEditorsApi
.
prototype
.
asc_View
Sign
=
function
(
id
)
baseEditorsApi
.
prototype
.
asc_View
Certificate
=
function
(
id
)
{
{
if
(
window
[
"
AscDesktopEditor
"
])
if
(
window
[
"
AscDesktopEditor
"
])
window
[
"
AscDesktopEditor
"
][
"
ViewCertificate
"
](
guid
);
window
[
"
AscDesktopEditor
"
][
"
ViewCertificate
"
](
id
);
};
baseEditorsApi
.
prototype
.
asc_SelectCertificate
=
function
()
{
if
(
window
[
"
AscDesktopEditor
"
])
window
[
"
AscDesktopEditor
"
][
"
SelectCertificate
"
]();
};
baseEditorsApi
.
prototype
.
asc_GetDefaultCertificate
=
function
()
{
if
(
window
[
"
AscDesktopEditor
"
])
window
[
"
AscDesktopEditor
"
][
"
GetDefaultCertificate
"
]();
};
};
baseEditorsApi
.
prototype
.
asc_getSignatures
=
function
()
baseEditorsApi
.
prototype
.
asc_getSignatures
=
function
()
...
...
word/api.js
View file @
09f46ed7
...
@@ -8260,7 +8260,9 @@ background-repeat: no-repeat;\
...
@@ -8260,7 +8260,9 @@ background-repeat: no-repeat;\
// signatures
// signatures
asc_docs_api
.
prototype
[
"
asc_AddSignatureLine2
"
]
=
asc_docs_api
.
prototype
.
asc_AddSignatureLine2
;
asc_docs_api
.
prototype
[
"
asc_AddSignatureLine2
"
]
=
asc_docs_api
.
prototype
.
asc_AddSignatureLine2
;
asc_docs_api
.
prototype
[
"
asc_Sign
"
]
=
asc_docs_api
.
prototype
.
asc_Sign
;
asc_docs_api
.
prototype
[
"
asc_Sign
"
]
=
asc_docs_api
.
prototype
.
asc_Sign
;
asc_docs_api
.
prototype
[
"
asc_ViewSign
"
]
=
asc_docs_api
.
prototype
.
asc_ViewSign
;
asc_docs_api
.
prototype
[
"
asc_ViewCertificate
"
]
=
asc_docs_api
.
prototype
.
asc_ViewCertificate
;
asc_docs_api
.
prototype
[
"
asc_SelectCertificate
"
]
=
asc_docs_api
.
prototype
.
asc_SelectCertificate
;
asc_docs_api
.
prototype
[
"
asc_GetDefaultCertificate
"
]
=
asc_docs_api
.
prototype
.
asc_GetDefaultCertificate
;
asc_docs_api
.
prototype
[
"
asc_getSignatures
"
]
=
asc_docs_api
.
prototype
.
asc_getSignatures
;
asc_docs_api
.
prototype
[
"
asc_getSignatures
"
]
=
asc_docs_api
.
prototype
.
asc_getSignatures
;
CDocInfoProp
.
prototype
[
'
get_PageCount
'
]
=
CDocInfoProp
.
prototype
.
get_PageCount
;
CDocInfoProp
.
prototype
[
'
get_PageCount
'
]
=
CDocInfoProp
.
prototype
.
get_PageCount
;
...
...
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