File tree Expand file tree Collapse file tree
templates/django_forms_workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Enterprise-grade, database-driven form builder with approval workflows
44"""
55
6- __version__ = "0.5.8 "
6+ __version__ = "0.5.9 "
77__author__ = "Django Forms Workflows Contributors"
88__license__ = "LGPL-3.0-only"
99
Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ <h5 class="mb-0">Your Decision</h5>
132132 actionButtons . classList . add ( 'd-none' ) ;
133133 loadingSpinner . classList . remove ( 'd-none' ) ;
134134
135- // Disable all form inputs to prevent double submission
136- const inputs = form . querySelectorAll ( 'input, textarea, button' ) ;
137- inputs . forEach ( function ( input ) {
138- input . disabled = true ;
135+ // Disable only buttons to prevent double-click (not inputs - that breaks CSRF)
136+ const buttons = form . querySelectorAll ( 'button' ) ;
137+ buttons . forEach ( function ( btn ) {
138+ btn . disabled = true ;
139139 } ) ;
140140 } ) ;
141141} ) ;
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " django-forms-workflows"
3- version = " 0.5.8 "
3+ version = " 0.5.9 "
44description = " Enterprise-grade, database-driven form builder with approval workflows and external data integration"
55license = " LGPL-3.0-only"
66readme = " README.md"
You can’t perform that action at this time.
0 commit comments