loleaflet/src/control/Control.Styles.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c56cd9715989625b5cdcf0c7ff3a7a2fd0162857
Author: Andrzej Hunt <andrzej.h...@collabora.com>
Date:   Thu Nov 12 15:05:43 2015 +0100

    loleaflet: update styles commands format
    
    This actually corresponds to what was implemented server side.

diff --git a/loleaflet/src/control/Control.Styles.js 
b/loleaflet/src/control/Control.Styles.js
index da1c4ca..d98a534 100644
--- a/loleaflet/src/control/Control.Styles.js
+++ b/loleaflet/src/control/Control.Styles.js
@@ -58,8 +58,8 @@ L.Control.Styles = L.Control.extend({
                                this._addSeparator();
                                commands.forEach(function (command) {
                                        var item = L.DomUtil.create('option', 
'', container);
-                                       item.value = command.command;
-                                       item.innerHTML = command.name;
+                                       item.value = command.id;
+                                       item.innerHTML = command.text;
                                });
                        }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to