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

Marco Cecchetti (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 2 16:35:29 UTC 2019


 loleaflet/src/control/Control.LokDialog.js |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit cd5f55dcf48823b947299c707ad237d9132bb049
Author:     Marco Cecchetti <marco.cecchetti at collabora.com>
AuthorDate: Fri Nov 29 21:19:19 2019 +0100
Commit:     Marco Cecchetti <marco.cecchetti at collabora.com>
CommitDate: Mon Dec 2 17:35:12 2019 +0100

    formula bar: move function wizard top when expanding the input box
    
    Change-Id: I220b485876ede47b9c6ab4658f33ecbfab1af926
    Reviewed-on: https://gerrit.libreoffice.org/84171
    Reviewed-by: Marco Cecchetti <marco.cecchetti at collabora.com>
    Tested-by: Marco Cecchetti <marco.cecchetti at collabora.com>

diff --git a/loleaflet/src/control/Control.LokDialog.js b/loleaflet/src/control/Control.LokDialog.js
index 3f4f5fe32..857a4407c 100644
--- a/loleaflet/src/control/Control.LokDialog.js
+++ b/loleaflet/src/control/Control.LokDialog.js
@@ -499,10 +499,6 @@ L.Control.LokDialog = L.Control.extend({
 	},
 
 	_launchCalcInputBar: function(id, width, height) {
-
-		if (false && this._map._permission !== 'edit')
-			return;
-
 		console.log('_launchCalcInputBar: start: id: ' + id + ', width: ' + width);
 		if (this._calcInputBar) {
 			var oldHeight = this._calcInputBar.height;
@@ -548,6 +544,7 @@ L.Control.LokDialog = L.Control.extend({
 						spreadsheetRowColumnFrame.setAttribute('style', styleAttr);
 					}
 				}
+				$('.funcwizard').css('top', $('#spreadsheet-row-column-frame').css('top'));
 			}
 		}
 


More information about the Libreoffice-commits mailing list