loleaflet/src/control/Control.DocumentNameInput.js |    6 ++++++
 wsd/README                                         |    2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

New commits:
commit 5e2b67797fa0c7a6e9bfcdfc91e695ac08a7e846
Author:     Michael Meeks <michael.me...@collabora.com>
AuthorDate: Tue Jun 9 15:50:59 2020 +0100
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Tue Jun 16 22:38:44 2020 +0200

    Pre-select base filename on rename click / focus.
    
    Change-Id: I62fb629dc6021ab8cd60b46f73e8d9e39c2da4e0
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95953
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96447
    Tested-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/loleaflet/src/control/Control.DocumentNameInput.js 
b/loleaflet/src/control/Control.DocumentNameInput.js
index e11d6bf95..ab22cd1a3 100644
--- a/loleaflet/src/control/Control.DocumentNameInput.js
+++ b/loleaflet/src/control/Control.DocumentNameInput.js
@@ -56,6 +56,12 @@ L.Control.DocumentNameInput = L.Control.extend({
        onDocumentNameFocus: function() {
                // hide the caret in the main document
                this.map._onLostFocus();
+               var name = this.map['wopi'].BaseFileName;
+               var extn = name.lastIndexOf('.');
+               if (extn < 0)
+                       extn = name.length;
+               $('#document-name-input').val(name);
+               $('#document-name-input')[0].setSelectionRange(0, extn);
        },
 
        onDocLayerInit: function() {
commit 3e4e7c91bea25039e40e4f615624ddf66b78b974
Author:     Pedro Pinto Silva <pedro.si...@collabora.com>
AuthorDate: Tue Jun 9 14:16:34 2020 +0200
Commit:     Michael Meeks <michael.me...@collabora.com>
CommitDate: Tue Jun 16 22:38:32 2020 +0200

    Server README: add missing instalation instructions for openSuse Leap 15.1
    
    Change-Id: I23997f9fee48a0ddf46ce0dd6e57ed8e01dc5a31
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95936
    Tested-by: Jenkins
    Tested-by: Pedro Silva <pedro.si...@collabora.com>
    Reviewed-by: Pedro Silva <pedro.si...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96446
    Tested-by: Michael Meeks <michael.me...@collabora.com>
    Reviewed-by: Michael Meeks <michael.me...@collabora.com>

diff --git a/wsd/README b/wsd/README
index a91314cd8..d3b615dd7 100644
--- a/wsd/README
+++ b/wsd/README
@@ -18,7 +18,7 @@ website.
 On openSUSE Leap 15.1, you can use:
 
     zypper ar 
http://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_Leap_15.1/devel:libraries:c_c++.repo
-    zypper in poco-devel libcap-progs
+    zypper in poco-devel libcap-progs python3-polib libcap-devel npm
 
 Similar repos exist for other openSUSE and SLE releases.
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to