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

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Mon Oct 28 10:29:17 UTC 2019


 loleaflet/src/control/ColorPicker.js             |    1 +
 loleaflet/src/control/Control.JSDialogBuilder.js |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 9a3ab5541c977dcb266ce557de7c77feb25dada2
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Oct 28 11:28:48 2019 +0100
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Oct 28 11:28:52 2019 +0100

    jsdialogs: send also transparent color notification
    
    Change-Id: Id74f189d95acacf313e5e40d975e6502060f6c81

diff --git a/loleaflet/src/control/ColorPicker.js b/loleaflet/src/control/ColorPicker.js
index 26632699b..9f1ea0e42 100644
--- a/loleaflet/src/control/ColorPicker.js
+++ b/loleaflet/src/control/ColorPicker.js
@@ -217,6 +217,7 @@ L.ColorPicker = L.Class.extend({
 		this._selectedColor = '#';
 		this._unselectSample(this._selectedTintIndex, L.ColorPicker.TINT);
 		this._updateNoColorControl(true);
+		this._selectionCallback('transparent');
 	},
 
 	onClickBasicColorSample: function (e) {
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 812102e58..9a20f2a5e 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -734,6 +734,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
 
 		var callback = function(color) {
 			var command = data.command + '?Color:string=' + color;
+			console.log(command);
 			builder.map.sendUnoCommand(command);
 		};
 


More information about the Libreoffice-commits mailing list