[Libreoffice-commits] online.git: loleaflet/src

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 25 11:29:24 UTC 2019


 loleaflet/src/control/Control.Toolbar.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 7bb57be10a7801b9d56bc2c68b1229d2472ec808
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Wed Oct 2 11:50:17 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Oct 25 14:28:24 2019 +0300

    Enable sidebar also in Impress.
    
    Omitting Draw...
    
    [Here in the master branch, all this change does is to add the sidebar
    button to the toolbar for presentation documents.]
    
    Change-Id: I1b97757629bf93795e0fe4f4d5681f9e31354df6
    Reviewed-on: https://gerrit.libreoffice.org/80024
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/loleaflet/src/control/Control.Toolbar.js b/loleaflet/src/control/Control.Toolbar.js
index f6a2ae25c..4fc5bdb09 100644
--- a/loleaflet/src/control/Control.Toolbar.js
+++ b/loleaflet/src/control/Control.Toolbar.js
@@ -1538,6 +1538,7 @@ function onDocLayerInit() {
 
 		break;
 	case 'presentation':
+		toolbarUp.show('breaksidebar', 'sidebar');
 		var presentationToolbar = w2ui['presentation-toolbar'];
 		if (!map['wopi'].HideExportOption && presentationToolbar) {
 			presentationToolbar.show('presentation', 'presentationbreak');


More information about the Libreoffice-commits mailing list