loleaflet/src/control/Signing.js |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 57a72ea4e944060240dbbb3e581eefeed2bd9a6b
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Wed Dec 5 17:50:29 2018 +0100
Commit:     Miklos Vajna <vmik...@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');
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to