mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-02-10 18:05:10 +08:00
feat(php): onUserActionRequired
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
- php: onUserActionRequired
|
||||||
- java-spring: onUserActionRequired
|
- java-spring: onUserActionRequired
|
||||||
- java: onUserActionRequired
|
- java: onUserActionRequired
|
||||||
- golang: onUserActionRequired
|
- golang: onUserActionRequired
|
||||||
|
|||||||
@ -211,6 +211,10 @@
|
|||||||
innerAlert("Document editor closed successfully");
|
innerAlert("Document editor closed successfully");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
var onUserActionRequired = function () {
|
||||||
|
console.log("User action required");
|
||||||
|
};
|
||||||
|
|
||||||
// the meta information of the document is changed via the meta command
|
// the meta information of the document is changed via the meta command
|
||||||
var onMetaChange = function (event) {
|
var onMetaChange = function (event) {
|
||||||
if (event.data.favorite !== undefined) {
|
if (event.data.favorite !== undefined) {
|
||||||
@ -388,6 +392,7 @@
|
|||||||
config.events = {
|
config.events = {
|
||||||
'onAppReady': onAppReady,
|
'onAppReady': onAppReady,
|
||||||
'onDocumentStateChange': onDocumentStateChange,
|
'onDocumentStateChange': onDocumentStateChange,
|
||||||
|
'onUserActionRequired': onUserActionRequired,
|
||||||
'onError': onError,
|
'onError': onError,
|
||||||
'onOutdatedVersion': onOutdatedVersion,
|
'onOutdatedVersion': onOutdatedVersion,
|
||||||
'onMakeActionLink': onMakeActionLink,
|
'onMakeActionLink': onMakeActionLink,
|
||||||
|
|||||||
Reference in New Issue
Block a user