loleaflet/src/control/Parts.js | 3 +++ loleaflet/src/layer/tile/CalcTileLayer.js | 1 + 2 files changed, 4 insertions(+)
New commits: commit 42b25715f991b369826d4bc1c01e3c55e076147b Author: Jan Holesovsky <[email protected]> Date: Fri Jan 15 20:41:11 2016 +0100 loleaflet: Update the row / column headers on part switch. diff --git a/loleaflet/src/control/Parts.js b/loleaflet/src/control/Parts.js index 2447fce..8e2d5c3 100644 --- a/loleaflet/src/control/Parts.js +++ b/loleaflet/src/control/Parts.js @@ -38,6 +38,9 @@ L.Map.include({ if (docLayer._invalidatePreview) { docLayer._invalidatePreview(); } + if (docLayer._docType === 'spreadsheet') { + this._socket.sendMessage('commandvalues command=.uno:ViewRowColumnHeaders'); + } }, getPreview: function (id, index, maxWidth, maxHeight, options) { diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js index 7145004..7fa37b9 100644 --- a/loleaflet/src/layer/tile/CalcTileLayer.js +++ b/loleaflet/src/layer/tile/CalcTileLayer.js @@ -113,6 +113,7 @@ L.CalcTileLayer = L.TileLayer.extend({ this._selectedPart = part; this._update(); this._map.fire('setpart', {selectedPart: this._selectedPart}); + this._map._socket.sendMessage('commandvalues command=.uno:ViewRowColumnHeaders'); } }, _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
