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

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Mon Jul 13 08:00:26 UTC 2020


 loleaflet/css/mobilewizard.css                   |    4 ++++
 loleaflet/src/control/Control.JSDialogBuilder.js |    4 ++++
 2 files changed, 8 insertions(+)

New commits:
commit 1aed5ddaa440c0d687708bd0ba7819499dd247fc
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Jul 10 15:22:00 2020 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Jul 13 10:00:07 2020 +0200

    mobile wizard: hide unsupported items in table panel
    
    Change-Id: Ie8486a496cd30f48f600d7acc7960674f3864b7d
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98527
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/loleaflet/css/mobilewizard.css b/loleaflet/css/mobilewizard.css
index d11ced002..5442e96c3 100644
--- a/loleaflet/css/mobilewizard.css
+++ b/loleaflet/css/mobilewizard.css
@@ -883,3 +883,7 @@ input[type=checkbox][disabled] {
 	margin: 10px 5% 10px 5% !important;
 	width: 90%;
 }
+
+#TableEditPanel #misc_label.mobile-wizard {
+	display: none;
+}
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 38ac8710a..967e2bd7b 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -196,6 +196,10 @@ L.Control.JSDialogBuilder = L.Control.extend({
 		this._toolitemHandlers['.uno:ResetAttributes'] = this._clearFormattingControl;
 		this._toolitemHandlers['.uno:SetDefault'] = this._clearFormattingControl;
 
+		this._toolitemHandlers['.uno:InsertFormula'] = function () {};
+		this._toolitemHandlers['.uno:SetBorderStyle'] = function () {};
+		this._toolitemHandlers['.uno:TableCellBackgroundColor'] = function () {};
+
 		this._currentDepth = 0;
 	},
 


More information about the Libreoffice-commits mailing list