loleaflet/dist/framed.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1d6d01a928f20b9c9068e3c2d42de331741c1c0e Author: Tor Lillqvist <t...@collabora.com> Date: Mon Jan 22 12:09:06 2018 +0200 Add a comment and drop some console logging diff --git a/loleaflet/dist/framed.html b/loleaflet/dist/framed.html index d2c92b718..946d20e9d 100644 --- a/loleaflet/dist/framed.html +++ b/loleaflet/dist/framed.html @@ -83,6 +83,7 @@ function callAddNamedRange() { window.frames[0].postMessage(JSON.stringify({'MessageId': 'Host_PostmessageReady'}), '*'); + // Our form below takes input in A1 format, the Python script wants zero-based indexes and width and height var abc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var x0 = document.forms['add-named-range-form'].elements['x0'].value; var x1 = document.forms['add-named-range-form'].elements['x1'].value; @@ -91,8 +92,6 @@ console.log('x0=' + x0 + ', x1=' + x1) x0 = abc.indexOf(x0); x1 = abc.indexOf(x1); - console.log('x0=' + x0 + ', x1=' + x1) - console.log('y0=' + y0 + ', y1=' + y1) window.frames[0].postMessage(JSON.stringify({'MessageId': 'CallPythonScript', 'SendTime': Date.now(), 'ScriptFile': 'NamedRanges.py', _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits