mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[DE] Show warning when filling starts
This commit is contained in:
@ -1944,12 +1944,17 @@ define([
|
||||
},
|
||||
|
||||
onStartFilling: function(disconnect) {
|
||||
this._isFillInitiator = true;
|
||||
disconnect ? this.api.asc_DisconnectEveryone() : this.onDisconnectEveryone();
|
||||
},
|
||||
|
||||
onDisconnectEveryone: function() {
|
||||
Common.NotificationCenter.trigger('doc:mode-apply', 'view', true, true);
|
||||
appHeader.onStartFilling();
|
||||
!this._isFillInitiator && Common.UI.warning({
|
||||
msg : this.warnStartFilling,
|
||||
buttons: ['ok']
|
||||
});
|
||||
},
|
||||
|
||||
applyModeCommonElements: function() {
|
||||
|
||||
@ -1316,6 +1316,7 @@
|
||||
"DE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
|
||||
"DE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
|
||||
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
|
||||
"DE.Controllers.Main.warnStartFilling": "Form filling is in progress.<br>File editing is not currently available.",
|
||||
"DE.Controllers.Navigation.txtBeginning": "Beginning of document",
|
||||
"DE.Controllers.Navigation.txtGotoBeginning": "Go to the beginning of the document",
|
||||
"DE.Controllers.Print.textMarginsLast": "Last Custom",
|
||||
|
||||
Reference in New Issue
Block a user