summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Vlăduţu <alexandru.vladutu@1and1.ro>2020-01-21 11:01:11 +0200
committerJan Holesovsky <kendy@collabora.com>2020-01-21 11:34:12 +0100
commit91175c854af80ef35ee3e7a8227600e56b1cb8d6 (patch)
treeae08e923510b3efc458a25db6fe810882f5d4e35
parentebaca16c4f28ae7a499c632b70b24eaaa1083439 (diff)
tdf#130103: loleaflet fix save from menu for spreadsheets
When editing a cell in a spreadsheet, if you don't focus on another element before clicking 'Save' in the menu, it won't actually save the last edited cell. This is different from the 'save' toolbar icon, which actually saves it. Change-Id: I5bb7551ce9fad28f3108bee8a7a44735e01f9d93 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87119 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--loleaflet/src/control/Control.Menubar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index 89f6328b7..d55079042 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -1092,7 +1092,7 @@ L.Control.Menubar = L.Control.extend({
if (this._map._permission !== 'readonly') {
this._map.fire('postMessage', {msgId: 'UI_Save'});
if (!this._map._disableDefaultAction['UI_Save']) {
- this._map.save(true, true);
+ this._map.save(false, false);
}
}
} else if (id === 'saveas') {