Changes between Initial Version and Version 1 of Ticket #28889, comment 19
- Timestamp:
- Jun 13, 2024, 9:37:51 AM (6 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28889, comment 19
initial v1 6 6 {% block submit-row %} 7 7 <script> 8 if (!$){ 9 const $ = django.jQuery; 10 } 11 $(document).ready(function() { 12 $('form').on('submit', function(event) { 13 $('input[type="submit"], button').prop('disabled', true); 8 django.jQuery(document).ready(function() { 9 django.jQuery('form').on('submit', function(event) { 10 django.jQuery('input[type="submit"], button').prop('disabled', true); 14 11 }); 15 12 });