[Libreoffice-commits] online.git: loleaflet/src
Andrzej Hunt
andrzej.hunt at collabora.com
Thu Nov 12 06:06:08 PST 2015
loleaflet/src/control/Control.Styles.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c56cd9715989625b5cdcf0c7ff3a7a2fd0162857
Author: Andrzej Hunt <andrzej.hunt at 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;
});
}
More information about the Libreoffice-commits
mailing list