Skip to content

Commit 3891d90

Browse files
author
Julia Radzhabova
committed
Merge pull request '[PDF forms] Fix start filling' (#335) from fix/start-fill into hotfix/v8.3.2
2 parents bff558f + 72e041e commit 3891d90

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

apps/api/documents/api.js

+1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@
323323
'onRequestRefreshFile': <request new file version> // send when file version is updated. use instead of onOutdatedVersion
324324
'onUserActionRequired': <user action callback> // send if the user needs to enter a password or select encoding/delimiters when opening a file
325325
'onRequestFillingStatus': <request filling status for current role> // used in pdf-form fill forms mode
326+
'onStartFilling': <send when can start filling (form is completed and users are disconnected)> // send after startFilling method, used in pdf-form editing
326327
}
327328
}
328329

apps/common/Gateway.js

+4
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,10 @@ if (window.Common === undefined) {
413413
});
414414
},
415415

416+
startFilling: function () {
417+
_postMessage({event:'onStartFilling'});
418+
},
419+
416420
requestFillingStatus: function (role) {
417421
_postMessage({
418422
event:'onRequestFillingStatus',

apps/documenteditor/main/app/controller/Main.js

+1
Original file line numberDiff line numberDiff line change
@@ -1960,6 +1960,7 @@ define([
19601960
msg : this.warnStartFilling,
19611961
buttons: ['ok']
19621962
});
1963+
Common.Gateway.startFilling();
19631964
},
19641965

19651966
applyModeCommonElements: function() {

0 commit comments

Comments
 (0)