[Libreoffice-commits] online.git: loleaflet/src
Marco Cecchetti
marco.cecchetti at collabora.com
Fri Oct 28 15:40:56 UTC 2016
loleaflet/src/layer/tile/TileLayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5e90ce91cfa2d6c3eab4516528f3a19211903eed
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Fri Oct 28 17:37:52 2016 +0200
loleaflet: PgUp/PgDn fix: check doc type
Change-Id: Ib240e50a4f973a6ba83916e6b551dcdbb017a919
Reviewed-on: https://gerrit.libreoffice.org/30362
Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>
Tested-by: Marco Cecchetti <mrcekets at gmail.com>
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 22d7aa5..9ac52e6 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1176,7 +1176,7 @@ L.TileLayer = L.GridLayer.extend({
},
_postKeyboardEvent: function(type, charcode, keycode) {
- if (this._prevCellCursor && type === 'input')
+ if (this._docType === 'spreadsheet' && this._prevCellCursor && type === 'input')
{
if (keycode === 1030) { // PgUp
if (this._cellCursorOnPgUp) {
More information about the Libreoffice-commits
mailing list