# HG changeset patch # User Thierry Florac # Date 1530107612 -7200 # Node ID acdaf6d731e763cb28b9a980b8e908e99ef26288 # Parent 57cb8fd801c30f339b53a07f6a6b666d08eabf7d Remove custom transition AJAX form diff -r 57cb8fd801c3 -r acdaf6d731e7 src/pyams_workflow/zmi/transition.py --- a/src/pyams_workflow/zmi/transition.py Fri Jun 22 12:58:28 2018 +0200 +++ b/src/pyams_workflow/zmi/transition.py Wed Jun 27 15:53:32 2018 +0200 @@ -21,7 +21,6 @@ from z3c.form.interfaces import HIDDEN_MODE # import packages -from pyams_form.form import AJAXAddForm from pyams_utils.registry import query_utility from pyams_utils.traversing import get_parent from pyams_utils.url import absolute_url @@ -82,9 +81,5 @@ def nextURL(self): return absolute_url(self.context, self.request, 'summary.html') - -class WorkflowContentTransitionAJAXForm(AJAXAddForm): - """Workflow content transition AJAX form""" - def get_ajax_output(self, changes): return {'status': 'reload'}