From ba96c2091e8d7730553514e11daef96902b03f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mauro=20Ferr=C3=A3o?= Date: Thu, 8 Feb 2024 14:06:02 +0000 Subject: [PATCH] xiboImageRender not working for templates and elements (#2358) relates to xibosignageltd/xibo-private#614 --- modules/forecastio.xml | 2 +- modules/templates/article-elements.xml | 2 +- modules/templates/article-static.xml | 12 ++-- modules/templates/currency-elements.xml | 2 +- modules/templates/currency-static.xml | 6 +- modules/templates/dataset-elements.xml | 2 +- modules/templates/dataset-static.xml | 57 +++++++++---------- modules/templates/event-static.xml | 20 +++---- modules/templates/global-elements.xml | 7 ++- modules/templates/message-static.xml | 3 +- .../templates/product-category-elements.xml | 2 +- modules/templates/product-elements.xml | 2 +- modules/templates/social-media-elements.xml | 4 +- modules/templates/social-media-static.xml | 28 ++++----- modules/templates/stock-static.xml | 6 +- modules/text.xml | 6 +- ui/src/layout-editor/main.js | 5 +- ui/src/playlist-editor/main.js | 3 + 18 files changed, 86 insertions(+), 83 deletions(-) diff --git a/modules/forecastio.xml b/modules/forecastio.xml index 82d34c9db4..0abde683a6 100755 --- a/modules/forecastio.xml +++ b/modules/forecastio.xml @@ -219,8 +219,8 @@ if (daysNum > 0) { } // Handle images and scaling -$(target).find("img").xiboImageRender(properties); $content.xiboLayoutScaler(properties); +$(target).find("img").xiboImageRender(properties); ]]> diff --git a/modules/templates/article-elements.xml b/modules/templates/article-elements.xml index 28f979f6f7..e46a315d3c 100644 --- a/modules/templates/article-elements.xml +++ b/modules/templates/article-elements.xml @@ -109,7 +109,7 @@ if (