loleaflet/src/control/Control.JSDialogBuilder.js |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

New commits:
commit 2a3f5f0fc3445f099192c9e39fea184f184feddf
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Fri Apr 24 11:32:59 2020 +0530
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Fri Apr 24 20:07:13 2020 +0200

    leaflet: removed color name from the title
    
    removed color name from title of slidebackground color/gradient picker in 
mobile wizard
    
    Change-Id: I92a6b3b5df9e6f826b903951b575c8497f5faf3a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92832
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js 
b/loleaflet/src/control/Control.JSDialogBuilder.js
index 97f416d25..e27220fa1 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -1537,13 +1537,12 @@ L.Control.JSDialogBuilder = L.Control.extend({
                        valueNode.style.backgroundColor = selectedColor;
                        if (titleSpan) {
                                if (data.id === 'fillattr')
-                                       titleSpan.innerHTML = _('Background 
Color');
+                                       data.text = _('Background Color');
                                else if (data.id === 'fillattr2')
-                                       titleSpan.innerHTML = _('Gradient 
Start');
+                                       data.text = _('Gradient Start');
                                else if (data.id === 'fillattr3')
-                                       titleSpan.innerHTML = _('Gradient End');
-                               else
-                                       titleSpan.innerHTML = data.text;
+                                       data.text = _('Gradient End');
+                               titleSpan.innerHTML = data.text;
                        }
                }.bind(this);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to