[Libreoffice-commits] online.git: 2 commits - loleaflet/src
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 4 19:50:12 UTC 2019
loleaflet/src/control/Control.JSDialogBuilder.js | 34 -----------------------
1 file changed, 34 deletions(-)
New commits:
commit afa6376aad492a6947938d18e39ba8a2196d699a
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Oct 4 19:47:34 2019 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Oct 4 21:50:01 2019 +0200
jsdialogs: layout is horizontal now, unused code
Change-Id: I070385f3890e1760eefa988f019e2729aadc730b
Reviewed-on: https://gerrit.libreoffice.org/80279
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Tested-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 00b6be73b..1df4efcc6 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -115,39 +115,6 @@ L.Control.JSDialogBuilder = L.Control.extend({
return null;
},
- _gridHandler: function(parentContainer, data, builder) {
- var columns = builder._getGridColumns(data.children);
- var rows = builder._getGridRows(data.children);
- var index = 0;
-
- var table = L.DomUtil.create('table', '', parentContainer);
- for (var row = 0; row < rows; row++) {
- var tr = L.DomUtil.create('tr', '', table);
- for (var col = 0; col < columns; col++) {
- var td = L.DomUtil.create('td', '', tr);
- var child = builder._getGridChild(data.children, row, col);
-
- if (child) {
- var childObject = null;
- if (child.type == 'container')
- childObject = L.DomUtil.create('table', '', td);
- else
- childObject = td;
-
- builder.build(childObject, [child], data.type);
- index++;
- }
-
- if (index > data.children.length) {
- console.warn('index > data.children.length');
- return false;
- }
- }
- }
-
- return false;
- },
-
_explorableEntry: function(parentContainer, title, contentNode, builder) {
var sectionTitle = L.DomUtil.create('div', 'ui-header level-' + builder._currentDepth + ' mobile-wizard ui-widget', parentContainer);
sectionTitle.innerHTML = title;
commit f70a5c5e7626d005ad09c649ab072d3a6a2da884
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Fri Oct 4 19:46:22 2019 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Fri Oct 4 21:49:53 2019 +0200
jsdialogs: remove unnecesary debug printout
Change-Id: Ide9ac65707a92beae287e73ba7123327d74325c1
Reviewed-on: https://gerrit.libreoffice.org/80278
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Tested-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 9dd973877..00b6be73b 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -72,7 +72,6 @@ L.Control.JSDialogBuilder = L.Control.extend({
console.debug('control: \'' + objectType + '\' event: \'' + eventType + '\' state: \'' + data + '\'');
if (objectType == 'toolbutton' && eventType == 'click') {
- console.log(builder);
builder.map.sendUnoCommand(data);
}
},
More information about the Libreoffice-commits
mailing list