You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2026/04/30 08:21:58 UTC

(ofbiz-plugins) branch trunk updated (a3e2ffd68 -> 589dd4d91)

This is an automated email from the ASF dual-hosted git repository.

jacopoc pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


    from a3e2ffd68 Bump io.swagger.core.v3:swagger-jaxrs2 in /rest-api
     new c1fda5ae3 Improved: Remove old elrte editor, replace with plain <textarea>
     new 1a6138346 Improved: Migrate from jstree 1.x to 3.x API
     new 0d8eb60d5 Implemented: Update js-cookie and jgrowl paths to use the new location, managed by npm
     new 589dd4d91 Fixed: Update ecommerce's ProductCategory jstree to load theme styles properly

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 ebaystore/template/store/ProductSearchExport.ftl | 26 --------------
 ecommerce/template/catalog/ProductCategories.ftl | 45 ++++++++++--------------
 ecommerce/widget/Theme.xml                       |  6 ++--
 3 files changed, 22 insertions(+), 55 deletions(-)


(ofbiz-plugins) 04/04: Fixed: Update ecommerce's ProductCategory jstree to load theme styles properly

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jacopoc pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git

commit 589dd4d9182993ab8400a067059d2aecd2315049
Author: Jacopo Cappellato <ja...@gmail.com>
AuthorDate: Thu Apr 30 09:17:40 2026 +0200

    Fixed: Update ecommerce's ProductCategory jstree to load theme styles properly
---
 ecommerce/template/catalog/ProductCategories.ftl | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/ecommerce/template/catalog/ProductCategories.ftl b/ecommerce/template/catalog/ProductCategories.ftl
index 852fd284d..5bc01d380 100644
--- a/ecommerce/template/catalog/ProductCategories.ftl
+++ b/ecommerce/template/catalog/ProductCategories.ftl
@@ -67,13 +67,15 @@
 
   <#-------------------------------------------------------------------------------------create Tree-->
   function createTree() {
-    importLibrary(["/common/js/node_modules/jstree/dist/jstree.min.js",
-        "/common/js/node_modules/jstree/dist/themes/default/style.min.css"], function(){
+    importLibrary(["/common/js/node_modules/jstree/dist/jstree.min.js"], function(){
       jQuery(function () {
         jQuery("#tree").jstree({
           "core": {
+            "themes": {
+                        "url": "/common/js/node_modules/jstree/dist/themes/default/style.min.css",
+                        "icons": false
+                    },
             "data": rawdata,
-            "themes": {"icons": false}
           },
           "state": {"key": "ec_categories_tree"},
           "plugins": ["themes", "state"]


(ofbiz-plugins) 01/04: Improved: Remove old elrte editor, replace with plain