diff --git a/CHANGELOG.md b/CHANGELOG.md index 5560cee8..dd3743c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Change Log +- php: onUserActionRequired - java-spring: onUserActionRequired - java: onUserActionRequired - golang: onUserActionRequired diff --git a/web/documentserver-example/php/templates/docEditor.tpl b/web/documentserver-example/php/templates/docEditor.tpl index f041ec56..32f4200a 100644 --- a/web/documentserver-example/php/templates/docEditor.tpl +++ b/web/documentserver-example/php/templates/docEditor.tpl @@ -211,6 +211,10 @@ 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 var onMetaChange = function (event) { if (event.data.favorite !== undefined) { @@ -388,6 +392,7 @@ config.events = { 'onAppReady': onAppReady, 'onDocumentStateChange': onDocumentStateChange, + 'onUserActionRequired': onUserActionRequired, 'onError': onError, 'onOutdatedVersion': onOutdatedVersion, 'onMakeActionLink': onMakeActionLink,