Changes between Initial Version and Version 1 of Ticket #28889, comment 19


Ignore:
Timestamp:
Jun 13, 2024, 9:37:51 AM (3 months ago)
Author:
Ömer Faruk Abacı

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28889, comment 19

    initial v1  
    66{% block submit-row %}
    77    <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);
    1411            });
    1512        });
Back to Top