loleaflet/src/control/Control.Tabs.js |    2 +-
 loleaflet/src/control/Parts.js        |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7b332782da9c574bd65f06114673e8d115fa5b93
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Mon Nov 14 20:13:21 2016 +0530

    loleaflet: Mention sheet name in delete sheet confirm dialog
    
    Change-Id: Ifac13c8fb2f4ec792f1e62541cb92b63edecad56

diff --git a/loleaflet/src/control/Control.Tabs.js 
b/loleaflet/src/control/Control.Tabs.js
index d1e6bf9..3365f29 100644
--- a/loleaflet/src/control/Control.Tabs.js
+++ b/loleaflet/src/control/Control.Tabs.js
@@ -50,7 +50,7 @@ L.Control.Tabs = L.Control.extend({
                                                callback: function(key, 
options) {
                                                        var nPos = 
parseInt(options.$trigger.attr('id').split('spreadsheet-tab')[1]);
                                                        vex.dialog.confirm({
-                                                               message: _('Are 
you sure you want to delete this sheet?'),
+                                                               message: _('Are 
you sure you want to delete sheet, %sheet% ?').replace('%sheet%', 
options.$trigger.text()),
                                                                callback: 
function(data) {
                                                                        if 
(data) {
                                                                                
map.deletePage(nPos);
commit 383e8a13a5de7fdd5294e8bd8209de2122d5da36
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Mon Nov 14 20:04:04 2016 +0530

    loleaflet: Focus after inserting or deleting a sheet
    
    Change-Id: I2807cbeaa0fb5b7ec20002a3f5758ce47bb7d421

diff --git a/loleaflet/src/control/Parts.js b/loleaflet/src/control/Parts.js
index 1139594..1542b1c 100644
--- a/loleaflet/src/control/Parts.js
+++ b/loleaflet/src/control/Parts.js
@@ -46,6 +46,7 @@ L.Map.include({
                        this._socket.sendMessage('commandvalues 
command=.uno:ViewRowColumnHeaders');
                }
                docLayer._drawSearchResults();
+               this.focus();
        },
 
        getPreview: function (id, index, maxWidth, maxHeight, options) {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to