[Libreoffice-commits] online.git: loleaflet/src
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 16:50:57 UTC 2018
loleaflet/src/control/Signing.js | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 57a72ea4e944060240dbbb3e581eefeed2bd9a6b
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Dec 5 17:50:29 2018 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Wed Dec 5 17:50:29 2018 +0100
document signing: inform user after upload
Change-Id: Ic84c64b1aea39e452b169b2e334f7a9ee3dca58f
diff --git a/loleaflet/src/control/Signing.js b/loleaflet/src/control/Signing.js
index 5c3c9961b..52cb61ca2 100644
--- a/loleaflet/src/control/Signing.js
+++ b/loleaflet/src/control/Signing.js
@@ -320,6 +320,12 @@ L.Map.include({
};
var blob = new Blob(['uploadsigneddocument\n', JSON.stringify(jsonRequest)]);
map._socket.sendMessage(blob);
+ // Let the user know that we're done.
+ map.fire('infobar', {
+ msg: _('Document uploaded.'),
+ action: null,
+ actionLabel: null
+ });
}
}
}
@@ -451,6 +457,8 @@ L.Map.include({
},
onChangeSignStatus: function(signstatus) {
var statusText = '';
+ // This is meant to be in sync with core.git
+ // include/sfx2/signaturestate.hxx, SignatureState.
switch (signstatus) {
case '0':
currentDocumentSigningStatus = _('Not Signed');
More information about the Libreoffice-commits
mailing list