diff --git a/src/Resources/public/js/config.js b/src/Resources/public/js/config.js index e14bd3e0..7f7eb0d5 100644 --- a/src/Resources/public/js/config.js +++ b/src/Resources/public/js/config.js @@ -209,7 +209,7 @@ pimcore.plugin.datahub.config = Class.create({ menu.add(new Ext.menu.Item({ text: t('clone'), iconCls: "pimcore_icon_clone", - disabled: !record.data['writeable'] || !this.userIsAllowedToCreate(record.data.adapter), + disabled: !pimcore.settings['data-hub-writeable'] || !this.userIsAllowedToCreate(record.data.adapter), handler: this.cloneConfiguration.bind(this, tree, record) })); @@ -243,4 +243,4 @@ pimcore.plugin.datahub.config = Class.create({ }); } -}); \ No newline at end of file +});