From 5b8b1ce548ba651cd324b6521f2ac2c91699ed41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Wed, 10 May 2017 15:31:28 +0200 Subject: [PATCH] Fix EZP-27274: In the search result list the "Edit" button does not work (#852) --- .../public/js/views/services/plugins/ez-contenteditplugin.js | 2 +- .../views/services/plugins/assets/ez-contenteditplugin-tests.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/public/js/views/services/plugins/ez-contenteditplugin.js b/Resources/public/js/views/services/plugins/ez-contenteditplugin.js index 26c437b65..3de9b577a 100644 --- a/Resources/public/js/views/services/plugins/ez-contenteditplugin.js +++ b/Resources/public/js/views/services/plugins/ez-contenteditplugin.js @@ -96,6 +96,6 @@ YUI.add('ez-contenteditplugin', function (Y) { }); Y.eZ.PluginRegistry.registerPlugin( - Y.eZ.Plugin.ContentEdit, ['locationViewViewService', 'dashboardBlocksViewService'] + Y.eZ.Plugin.ContentEdit, ['locationViewViewService', 'dashboardBlocksViewService', 'searchViewService'] ); }); diff --git a/Tests/js/views/services/plugins/assets/ez-contenteditplugin-tests.js b/Tests/js/views/services/plugins/assets/ez-contenteditplugin-tests.js index ba2ade23d..75440dab3 100644 --- a/Tests/js/views/services/plugins/assets/ez-contenteditplugin-tests.js +++ b/Tests/js/views/services/plugins/assets/ez-contenteditplugin-tests.js @@ -216,7 +216,7 @@ YUI.add('ez-contenteditplugin-tests', function (Y) { registerTest = new Y.Test.Case(Y.eZ.Test.PluginRegisterTest); registerTest.Plugin = Y.eZ.Plugin.ContentEdit; - registerTest.components = ['locationViewViewService']; + registerTest.components = ['locationViewViewService', 'dashboardBlocksViewService', 'searchViewService']; Y.Test.Runner.setName("eZ Content Edit Plugin tests"); Y.Test.Runner.add(editContentRequestTest);