[Libreoffice-commits] online.git: loleaflet/dist
Henry Castro
hcastro at collabora.com
Thu Oct 13 01:51:47 UTC 2016
loleaflet/dist/toolbar/toolbar.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit fbfd500a2ec2d3425903c002c63f1a73f20d152a
Author: Henry Castro <hcastro at collabora.com>
Date: Wed Oct 12 21:51:48 2016 -0400
loleaflet: fix style names in Layout dropdown
diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js
index 11281f5..4f2b649 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -839,11 +839,9 @@ map.on('commandstatechanged', function (e) {
return;
}
- // For impress documents, template name is prefixed with style name.
- // Strip the template name until we support it
+ // For impress documents, no styles is supported.
if (map.getDocType() === 'presentation') {
- state = state.split('~LT~')[1];
- state = L.Styles.impressMapping[state];
+ return;
}
$('.styles-select option').each(function () {
More information about the Libreoffice-commits
mailing list