loleaflet/src/control/Control.Menubar.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 91175c854af80ef35ee3e7a8227600e56b1cb8d6
Author:     Alexandru Vlăduţu <alexandru.vlad...@1and1.ro>
AuthorDate: Tue Jan 21 11:01:11 2020 +0200
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Tue Jan 21 11:34:12 2020 +0100

    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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>

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') {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to