[Libreoffice-commits] online.git: loleaflet/src
Marco Cecchetti
marco.cecchetti at collabora.com
Tue Apr 25 11:09:32 UTC 2017
loleaflet/src/control/Parts.js | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6735fbc8a1e5db151f398723c5fbefa936acd3ce
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Tue Apr 25 12:35:42 2017 +0200
Loleaflet - fix: row/col header do not update on switching tab
Change-Id: I6528646276647ea78048d68eb91794cb394b67c3
Reviewed-on: https://gerrit.libreoffice.org/36935
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Parts.js b/loleaflet/src/control/Parts.js
index 1071db03..1953eb52 100644
--- a/loleaflet/src/control/Parts.js
+++ b/loleaflet/src/control/Parts.js
@@ -51,6 +51,8 @@ L.Map.include({
if (!this._searchRequested) {
this.focus();
}
+ if (docLayer._docType === 'spreadsheet')
+ this.fire('updaterowcolumnheaders', {x: this._getTopLeftPoint().x, y: this._getTopLeftPoint(), offset: {x: undefined, y: undefined}});
},
getPreview: function (id, index, maxWidth, maxHeight, options) {
More information about the Libreoffice-commits
mailing list