Changeset 2009142
- Timestamp:
- 01/09/2019 02:14:43 PM (7 years ago)
- Location:
- clicktoaddress-auto-complete/trunk
- Files:
-
- 7 edited
-
admin/js/config.js (modified) (1 diff)
-
admin/js/orders.js (modified) (2 diffs)
-
admin/js/users.js (modified) (2 diffs)
-
clicktoaddress-auto-complete.php (modified) (1 diff)
-
frontend/js/checkout.js (modified) (2 diffs)
-
includes/class-wc-clicktoaddress-autocomplete-integration.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clicktoaddress-auto-complete/trunk/admin/js/config.js
r1896347 r2009142 6 6 * @copyright Copyright (c) 2018, Crafty Clicks Limited 7 7 * @license Licensed under the terms of the MIT license. 8 * @version 1.1. 88 * @version 1.1.9 9 9 */ 10 10 -
clicktoaddress-auto-complete/trunk/admin/js/orders.js
r1896347 r2009142 6 6 * @copyright Copyright (c) 2018, Crafty Clicks Limited 7 7 * @license Licensed under the terms of the MIT license. 8 * @version 1.1. 88 * @version 1.1.9 9 9 */ 10 10 … … 75 75 countryMatchWith: 'iso_2' 76 76 }; 77 if(cc_c2a_config.transliterate == 1) { 78 c2a_autocomplete_config.transliterate = 1; 79 } 77 80 if(cc_c2a_config.match_countries) c2a_autocomplete_config.enabledCountries = c2a_enabled_countries; 78 81 if(cc_c2a_config.lock_country){ -
clicktoaddress-auto-complete/trunk/admin/js/users.js
r1896347 r2009142 6 6 * @copyright Copyright (c) 2018, Crafty Clicks Limited 7 7 * @license Licensed under the terms of the MIT license. 8 * @version 1.1. 88 * @version 1.1.9 9 9 */ 10 10 … … 74 74 countryMatchWith: 'iso_2' 75 75 }; 76 if(cc_c2a_config.transliterate == 1) { 77 c2a_autocomplete_config.transliterate = 1; 78 } 76 79 if(cc_c2a_config.match_countries) c2a_autocomplete_config.enabledCountries = c2a_enabled_countries; 77 80 if(cc_c2a_config.lock_country){ -
clicktoaddress-auto-complete/trunk/clicktoaddress-auto-complete.php
r1896347 r2009142 5 5 * Author: Crafty Clicks 6 6 * Author URI: https://craftyclicks.co.uk/ 7 * Version: 1.1. 87 * Version: 1.1.9 8 8 * 9 9 * This program is free software: you can redistribute it and/or modify -
clicktoaddress-auto-complete/trunk/frontend/js/checkout.js
r1896347 r2009142 6 6 * @copyright Copyright (c) 2018, Crafty Clicks Limited 7 7 * @license Licensed under the terms of the MIT license. 8 * @version 1.1. 88 * @version 1.1.9 9 9 */ 10 10 … … 88 88 countryMatchWith: 'iso_2' 89 89 }; 90 if(cc_c2a_config.transliterate == 1) { 91 c2a_autocomplete_config.transliterate = 1; 92 } 90 93 if(cc_c2a_config.match_countries) c2a_autocomplete_config.enabledCountries = c2a_enabled_countries; 91 94 if(cc_c2a_config.lock_country){ -
clicktoaddress-auto-complete/trunk/includes/class-wc-clicktoaddress-autocomplete-integration.php
r1844874 r2009142 50 50 'country_button' => $this->get_option( 'country_button' ), 51 51 'generic_error' => $this->get_option( 'generic_error' ), 52 'no_results' => $this->get_option( 'no_results' ) 52 'no_results' => $this->get_option( 'no_results' ), 53 'transliterate' => $this->get_option('transliterate') 53 54 ); 54 55 … … 347 348 'default' => 'No results found', 348 349 'placeholder' => 'No results found' 350 ), 351 'transliterate' => array( 352 'title' => __( 'Transliterate for non ASCII characters', 'woocommerce-clicktoaddress-autocomplete' ), 353 'type' => 'select', 354 'description' => __( 'Changes non-Latin characters to Latin characters', 'woocommerce-clicktoaddress-autocomplete' ), 355 'desc_tip' => true, 356 'default' => 0, 357 'options' => array( 358 0 => __('No', 'woocommerce' ), 359 1 => __('Yes', 'woocommerce' ) 360 ) 349 361 ) 350 362 ); -
clicktoaddress-auto-complete/trunk/readme.txt
r1896347 r2009142 4 4 Tags: address, addresses, autocomplete, checkout, data, fill, find, finder, form, global, lookup, postcode, search, uk, validation, verification, woocommerce 5 5 Requires at least: 4.6 6 Tested up to: 4.9. 67 Stable tag: 1.1. 86 Tested up to: 4.9.8 7 Stable tag: 1.1.9 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 63 63 == Changelog == 64 64 65 = 1.1.9 = 66 * New config option allowing transliteration of non-ASCII characters to latin characters. 67 65 68 = 1.1.8 = 66 69 * Fix: Trigger update event after address has been selected to validate the fields.
Note: See TracChangeset
for help on using the changeset viewer.