Remove custom transition AJAX form
authorThierry Florac <thierry.florac@onf.fr>
Wed, 27 Jun 2018 15:53:32 +0200
changeset 79 acdaf6d731e7
parent 78 57cb8fd801c3
child 80 c48b49297d98
Remove custom transition AJAX form
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'}