diff --git a/client/src/entrypoints/admin/workflow-status.js b/client/src/entrypoints/admin/workflow-status.js deleted file mode 100644 index 389510c31b25..000000000000 --- a/client/src/entrypoints/admin/workflow-status.js +++ /dev/null @@ -1,13 +0,0 @@ -import $ from 'jquery'; - -$(() => { - /* Interface to view the workflow status from the explorer / editor */ - // eslint-disable-next-line func-names - $('button[data-action-workflow-status]').on('click', function () { - // eslint-disable-next-line no-undef - ModalWorkflow({ - url: this.getAttribute('data-url'), - }); - return false; - }); -}); diff --git a/client/webpack.config.js b/client/webpack.config.js index 446212518024..4f405d1f5ded 100644 --- a/client/webpack.config.js +++ b/client/webpack.config.js @@ -58,7 +58,6 @@ module.exports = function exports(env, argv) { 'userbar', 'wagtailadmin', 'workflow-action', - 'workflow-status', 'bulk-actions', ], 'images': [ diff --git a/wagtail/admin/templates/wagtailadmin/pages/_editor_js.html b/wagtail/admin/templates/wagtailadmin/pages/_editor_js.html index a0f2a33b559b..4e7123388805 100644 --- a/wagtail/admin/templates/wagtailadmin/pages/_editor_js.html +++ b/wagtail/admin/templates/wagtailadmin/pages/_editor_js.html @@ -25,5 +25,4 @@ - {% hook_output 'insert_editor_js' %}