loleaflet/src/layer/AnnotationManagerImpress.js |   16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

New commits:
commit fdf3df407c535a7b33016e7d07dc71ea237cf09f
Author:     Ezinne Nnamani <nnamani.ezi...@collabora.com>
AuthorDate: Tue Sep 8 17:06:16 2020 +0100
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Thu Sep 10 13:05:05 2020 +0200

    A fix to handle the added "Reply to" when the user clicks on the comment in 
Impress slide
    
    Change-Id: Ib6cfa7acca208a143a237acb1c9b2753cbe6ca18
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102270
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/loleaflet/src/layer/AnnotationManagerImpress.js 
b/loleaflet/src/layer/AnnotationManagerImpress.js
index 2e5945a9c..542f0572b 100644
--- a/loleaflet/src/layer/AnnotationManagerImpress.js
+++ b/loleaflet/src/layer/AnnotationManagerImpress.js
@@ -144,20 +144,10 @@ L.AnnotationManagerImpress = 
L.AnnotationManagerBase.extend({
                this._map.sendUnoCommand('.uno:DeleteAnnotation', comment);
                this._map.focus();
        },
-       onAnnotationClick: function (e) {
-               var comment = {
-                       Id: {
-                               type: 'string',
-                               value: e.annotation._data.id
-                       },
-                       Text: {
-                               type: 'string',
-                               value: e.annotation._data.reply
-                       }
-               };
-               this._map.sendUnoCommand('.uno:ReplyToAnnotation', comment);
-               this._selectedAnnotation = undefined;
+       onAnnotationClick: function (event) {
+               this._selectedForPopup = event.annotation;
                this._map.focus();
+               this.layoutAnnotations();
        },
        onAnnotationSave: function (event) {
                var comment;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to