[Libreoffice-commits] online.git: Branch 'libreoffice-5-3' - loleaflet/dist
Pranav Kant
pranavk at collabora.co.uk
Thu Mar 2 11:44:40 UTC 2017
loleaflet/dist/toolbar/toolbar.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 37266761c5d202ef173e49477b2a0e899e981127
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Nov 15 18:16:08 2016 +0530
tdf#103641: Hide redundant break after save too
... if save button is hidden. This is not the case in master
as we have additional element, Textwrap, there.
Change-Id: I11c3f776d5e9691659ab4dbefdaebbf16c472631
Reviewed-on: https://gerrit.libreoffice.org/34795
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index cb95fcf..0cd5573 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -333,7 +333,7 @@ $(function () {
items: [
{type: 'html', id: 'left'},
{type: 'button', id: 'save', img: 'save', hint: _('Save'), uno: 'Save'},
- {type: 'break'},
+ {type: 'break', id: 'savebreak'},
{type: 'button', id: 'undo', img: 'undo', hint: _('Undo'), uno: 'Undo'},
{type: 'button', id: 'redo', img: 'redo', hint: _('Redo'), uno: 'Redo'},
{type: 'button', id: 'repair', img: 'repair', hint: _('Document repair')},
@@ -726,6 +726,7 @@ function onFormulaBarBlur() {
map.on('wopiprops', function(e) {
if (e.HideSaveOption) {
w2ui['toolbar-up'].hide('save');
+ w2ui['toolbar-up'].hide('savebreak');
}
});
More information about the Libreoffice-commits
mailing list