diff --git a/src/Resources/public/js/pimcore/perspective/perspective.js b/src/Resources/public/js/pimcore/perspective/perspective.js index 05a3406..4dfb145 100644 --- a/src/Resources/public/js/pimcore/perspective/perspective.js +++ b/src/Resources/public/js/pimcore/perspective/perspective.js @@ -655,7 +655,7 @@ pimcore.bundle.perspectiveeditor.PerspectiveEditor = class { checked: config[data[dataIndex].value] === 1, listeners: { change: function(elem, newValue, oldValue){ - newValue ? config[elem.portletValue] = 1 : delete config[elem.name]; + newValue ? config[elem.portletValue] = 1 : delete config[elem.portletValue]; this.setDirty(true); }.bind(this) }