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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 1 10:39:31 UTC 2018


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

New commits:
commit 7ba16df8c5b03ffe92bb37bb814d9bf065a7a167
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Thu Nov 1 11:21:30 2018 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Nov 1 11:39:13 2018 +0100

    loleaflet: Rename Sheet dialog should have the current sheet name in input box
    
    Change-Id: I944d4781d551ddb5212bd162935719897f121513
    Reviewed-on: https://gerrit.libreoffice.org/62723
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/control/Control.Tabs.js b/loleaflet/src/control/Control.Tabs.js
index 73e43b8d6..53cf0a3ff 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -65,7 +65,7 @@ L.Control.Tabs = L.Control.extend({
 								var nPos = parseInt(options.$trigger.attr('id').split('spreadsheet-tab')[1]);
 								vex.dialog.open({
 									message: _('Enter new sheet name'),
-									input: '<input name="sheetname" type="text" required />',
+									input: '<input name="sheetname" type="text" value="' + options.$trigger.text() + '" required />',
 									callback: function(data) {
 										map.renamePage(data.sheetname, nPos);
 									}


More information about the Libreoffice-commits mailing list