[Libreoffice-commits] online.git: loleaflet/src
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 14 11:34:23 UTC 2019
loleaflet/src/control/Control.JSDialogBuilder.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6104b20d2bd9ba794a2847384abbd83b9c534709
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Nov 14 12:33:43 2019 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Nov 14 12:33:43 2019 +0100
jsdialogs: remove debug printout
Change-Id: I6fb384e848c804f9596b29fff862cf6db82d37f8
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 48a60f997..af13ab70a 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -815,7 +815,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
var updateFunction = function() {
var items = builder.map['stateChangeHandler'];
var state = items.getItemValue(data.command);
- console.warn('state: ' + state);
+
if (state && state === 'true')
$(button).addClass('selected');
else
More information about the Libreoffice-commits
mailing list