[Libreoffice-commits] online.git: loleaflet/src

Emre Öztürk ozturkemry at gmail.com
Mon Oct 16 17:57:08 UTC 2017


 loleaflet/src/layer/tile/TileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d10e0bc12920b3643b02a9c9e85dd650e23b422b
Author: Emre Öztürk <ozturkemry at gmail.com>
Date:   Thu Oct 5 14:12:51 2017 +0300

    tdf#107562  Enabled replying comments in impress
    
    Change-Id: I55862204ef71f69bc88c79fe2259f7cb8365699a
    Reviewed-on: https://gerrit.libreoffice.org/43165
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index a5bafca5..ca9fbffd 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -190,7 +190,7 @@ L.TileLayer = L.GridLayer.extend({
 						that.onAnnotationModify.call(that, options.$trigger.get(0).annotation);
 					}
 				},
-				reply: (this._docType !== 'text') ? undefined : {
+				reply: (this._docType !== 'text' && this._docType !== 'presentation') ? undefined : {
 					name: _('Reply'),
 					callback: function (key, options) {
 						that.onAnnotationReply.call(that, options.$trigger.get(0).annotation);


More information about the Libreoffice-commits mailing list