[Libreoffice-commits] online.git: loleaflet/dist
Henry Castro
hcastro at collabora.com
Thu Oct 6 18:36:00 UTC 2016
loleaflet/dist/toolbar/toolbar.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 0f86fde3e0792dce5808d6448845a5a9cfa330b0
Author: Henry Castro <hcastro at collabora.com>
Date: Thu Oct 6 10:03:21 2016 -0400
loleaflet: add .uno:AutoSum
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index fcde011..fc35a45 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -186,9 +186,7 @@ function onClick(id, item, subItem) {
setTimeout(function () {$('#backColorPicker').colorpicker('showPalette');}, 0);
}
else if (id === 'sum') {
- L.DomUtil.get('formulaInput').value = '=SUM()';
- L.DomUtil.get('formulaInput').focus();
- map.cellEnterString(L.DomUtil.get('formulaInput').value);
+ map.sendUnoCommand('.uno:AutoSum');
}
else if (id === 'function') {
L.DomUtil.get('formulaInput').value = '=';
More information about the Libreoffice-commits
mailing list