Plugin Directory

Changeset 3145953


Ignore:
Timestamp:
09/03/2024 12:48:46 PM (17 months ago)
Author:
Tussendoor
Message:

##### 5.1.0.1

  • Hotfix: Recurring requests without a page refresh failed with CF7.
Location:
open-rdw-kenteken-voertuiginformatie/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • open-rdw-kenteken-voertuiginformatie/trunk/app/Services/ContactForm7.php

    r3145910 r3145953  
    7171        }
    7272
    73         $atts['class']  = $tag->get_class_option(!empty($class) ? $class : null) . ' open-data-rdw-hook';
     73        $atts['class']  = 'open-data-rdw-hook';
    7474        $atts['id']     = 'open-data-rdw';
    7575
  • open-rdw-kenteken-voertuiginformatie/trunk/config/plugin.php

    r3145910 r3145953  
    2727        'log_source'            => 'tussendoor-rdw',
    2828        'log_context'           => 'tsdRdwContext',
    29         'version'               => '5.1.0',
     29        'version'               => '5.1.0.1',
    3030        'php_minimum'           => '8.0',
    3131        'php_minimum_id'        => 80000,
  • open-rdw-kenteken-voertuiginformatie/trunk/plugin-gratis-open-rdw-kenteken-voertuiginformatie.php

    r3145910 r3145953  
    1212 * Author URI: https://www.tussendoor.nl
    1313 * Text Domain: tussendoor-rdw
    14  * Version: 5.1.0
     14 * Version: 5.1.0.1
    1515 * Tested up to: 6.6.1
    1616 * Requires at least: 6.2
     
    2828define('ORK_PLUGIN_PATH', plugins_url('tussendoor-rdw'));
    2929define('ORK_PLUGIN', __DIR__);
    30 define('ORK_VERSION', '5.1.0');
     30define('ORK_VERSION', '5.1.0.1');
    3131
    3232/**
  • open-rdw-kenteken-voertuiginformatie/trunk/public/js/open-rdw-kenteken-voertuiginformatie-public.js

    r3145910 r3145953  
    5353         * This code is responsible for contact form 7 support and makes an ajax call to our plugin.
    5454         */
    55         $(document).on('change', '#open-data-rdw', function () {
     55        $(document).on('change', '.open-data-rdw-hook', function () {
    5656            var formID = $(this).closest('form').attr('id');
     57
    5758            if (formID == undefined) {
    5859                var inputID = $(this).attr('id');
     
    6162                formID = inputID;
    6263            }
     64            console.log(formID);
    6365
    6466            $('#' + formID + ' #open_rdw-loading').show();
     
    6870            var kenteken = normalizeLicense($(this).val());
    6971            var data = { action: 'get_open_rdw_data', kenteken: kenteken };
     72
     73            console.log($(this));
    7074
    7175            $(document).trigger('openrdw:before_data_load', kenteken);
  • open-rdw-kenteken-voertuiginformatie/trunk/readme.txt

    r3145910 r3145953  
    22Contributors: Tussendoor
    33Tags: tussendoor, rdw, kenteken, voertuig, kentekeninformatie
    4 Stable tag: 5.1.0
     4Stable tag: 5.1.0.1
    55Tested up to: 6.6.1
    66Requires at least: 6.2
     
    4444
    4545### Changelog
     46
     47##### 5.1.0.1
     48* Hotfix: Recurring requests without a page refresh failed with CF7.
    4649
    4750##### 5.1.0
Note: See TracChangeset for help on using the changeset viewer.