loleaflet/js/toolbar.js          |    2 +-
 loleaflet/src/control/Signing.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d9dee9793bdb5b6a2bec59098eda60c1f593469f
Author:     Andras Timar <[email protected]>
AuthorDate: Sun Dec 9 23:13:29 2018 +0100
Commit:     Andras Timar <[email protected]>
CommitDate: Sun Dec 9 23:13:35 2018 +0100

    id of Close button on Document signing bar should be unique
    
    Change-Id: Ib4f9d044d8e943de27f36029ce54100d29553604

diff --git a/loleaflet/js/toolbar.js b/loleaflet/js/toolbar.js
index 851b3c948..a25a87b0a 100644
--- a/loleaflet/js/toolbar.js
+++ b/loleaflet/js/toolbar.js
@@ -1119,7 +1119,7 @@ function initNormalToolbar(toolItems) {
                                {type: 'spacer'},
                                {type: 'button',  id: 'logout',  caption: 
_('Logout'), img: '', hint: _('Logout')},
                                {type: 'button',  id: 'login',  caption: 
_('Login'), img: '', hint: _('Login')},
-                               {type: 'button',  id: 'close', img: 
'closetoolbar', hint: _('Close')},
+                               {type: 'button',  id: 
'close-document-signing-bar', img: 'closetoolbar', hint: _('Close')},
                        ],
                        onClick: function (e) {
                                onClick(e, e.target);
diff --git a/loleaflet/src/control/Signing.js b/loleaflet/src/control/Signing.js
index 68dfeb9dc..d4113cc67 100644
--- a/loleaflet/src/control/Signing.js
+++ b/loleaflet/src/control/Signing.js
@@ -438,7 +438,7 @@ L.Map.include({
                }
        },
        handleSigningClickEvent: function(id, item) {
-               if (id === 'close') {
+               if (id === 'close-document-signing-bar') {
                        this.hideSignDocument();
                }
                else if (id === 'login') {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to