loleaflet/src/layer/tile/TileLayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7aeb66be8853bd347e623687fd6c699fa0268cc3 Author: Marco Cecchetti <marco.cecche...@collabora.com> Date: Wed Apr 26 11:38:27 2017 +0200 loleaflet: Calc, Impress: should not show Reply entry in annotation menu There is no `reply` support in Desktop for Calc and Impress comments. Change-Id: I827ae99148cf8f65446e23e13e2588ce0ced788e Reviewed-on: https://gerrit.libreoffice.org/36979 Reviewed-by: pranavk <pran...@collabora.co.uk> Tested-by: pranavk <pran...@collabora.co.uk> diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index ee9408f8..0d2bb93a 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -184,8 +184,8 @@ L.TileLayer = L.GridLayer.extend({ that.onAnnotationModify.call(that, options.$trigger.get(0).annotation); } }, - reply: { - name:_('Reply'), + reply: (this._docType !== 'text') ? undefined : { + name: _('Reply'), callback: function (key, options) { that.onAnnotationReply.call(that, options.$trigger.get(0).annotation); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits