mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
feat(java-spring): onUserActionRequired
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
- java-spring: onUserActionRequired
|
||||||
- java: onUserActionRequired
|
- java: onUserActionRequired
|
||||||
- golang: onUserActionRequired
|
- golang: onUserActionRequired
|
||||||
- csharp-mvc: onUserActionRequired
|
- csharp-mvc: onUserActionRequired
|
||||||
|
|||||||
@ -94,6 +94,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) {
|
||||||
@ -365,6 +369,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