From d77170ee889ac2f924d40fac1f164f45fc58c3a7 Mon Sep 17 00:00:00 2001 From: Vladimir Malik Date: Fri, 28 Jun 2024 11:10:48 +0200 Subject: [PATCH] Fixed getting class from store for getting proper configurations for output channels. (#86) --- .../public/js/pimcore/document/editables/outputchanneltable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/public/js/pimcore/document/editables/outputchanneltable.js b/src/Resources/public/js/pimcore/document/editables/outputchanneltable.js index 7b53466..37dfe45 100644 --- a/src/Resources/public/js/pimcore/document/editables/outputchanneltable.js +++ b/src/Resources/public/js/pimcore/document/editables/outputchanneltable.js @@ -467,7 +467,7 @@ pimcore.document.editables.outputchanneltable = Class.create(pimcore.document.ed getCurrentClassId: function() { var classStore = pimcore.globalmanager.get("object_types_store"); - var index = classStore.find("text", this.selectedClass); + var index = classStore.find("text", this.selectedClass, 0, false, false, true); if(typeof index !== 'undefined' && classStore.getAt(index)) { return classStore.getAt(index).id; }