Kathy Daring
0ccff4dda5
Repalce jQuery.focus() except in 3rd party assets
2021-01-07 15:06:18 -07:00
Kathy Daring
61c4e20863
replace jQuery..bind except in 3rd party assets
2021-01-07 15:04:26 -07:00
Kathy Daring
a67def78de
Replace jQuery.click()
2021-01-07 15:00:55 -07:00
Kathy Daring
80a8d66106
Replace jQuery.submit()
2021-01-07 15:00:14 -07:00
Kathy Daring
cc0714f612
Replace Jquery.isFunction() except in 3rd party assets
2021-01-07 14:59:17 -07:00
Roy Ho
8f37a6936f
Merge pull request #28014 from JoryHogeveen/feature/20-10-20-price-slider-init-trigger
...
Widget: Price Slider - trigger to re-initialize
2020-12-08 13:35:10 -08:00
Roy Ho
aa89afcf95
Merge pull request #28332 from woocommerce/update/replace-jquery-click
...
Replace usages of depracted jQuery.fn.click() event shorthand
2020-12-07 06:03:56 -08:00
Rodrigo Primo
1fca8bb1b1
Replaces a few more instances of jQuery.fn.click() event shorthand
...
This commit replaces a few more instances of jQuery.fn.click() event shorthand that were missed in the previous commit. For more information see the commit message for 8ebead165e
.
2020-11-18 16:31:17 -03:00
Rodrigo Primo
8ebead165e
Replace usages of depracted jQuery.fn.click() event shorthand
...
This commit replaces all instances in WooCommerce codebase (except included third-party libraries) where jQuery.fn.click( handler ) event shorthand was used. This shorthand was deprecated in jQuery 3.3 (see https://github.com/jquery/jquery/issues/3214 ). The jQuery documentation was not updated yet (see https://github.com/jquery/jquery-migrate/issues/288 and https://github.com/jquery/api.jquery.com/issues/972 ).
jQuery.click() was not deprecated and so it was not replaced.
2020-11-18 15:27:46 -03:00
Christopher Allford
ea888a4a21
Revert "Added support for file in checkout ajax."
2020-11-16 09:04:15 -08:00
Rodrigo Primo
7659b984dc
Merge pull request #28058 from woocommerce/fix/27937
...
Replaces some jQuery deprecated code
2020-11-12 14:00:39 -03:00
Dominic Vermeulen-Smith
2c17454956
Merge remote-tracking branch 'upstream/master' into add-data-to-checkout_error
2020-10-29 13:39:40 +00:00
Dominic Vermeulen-Smith
d2696e395b
add error messages to checkout_error event
2020-10-26 18:03:06 +00:00
Rodrigo Primo
3d965f06e0
Merge pull request #25988 from yash-webkul/patch-1
...
Added support for file in checkout ajax.
2020-10-24 11:11:21 -03:00
Rodrigo Primo
291884e154
Replace all occurrences of jQuery.parseJSON()
...
jQuery.parseJSON() is deprecated (https://api.jquery.com/jquery.parsejson/ ). This commit replaces all of its occurrences with JSON.parse().
2020-10-22 10:11:27 -03:00
Jory Hogeveen
34eb09dfa1
Use `on` instead of `bind`
...
Bind will be deprecated
2020-10-20 15:56:43 +02:00
Jory Hogeveen
269ca73aa8
Allow re-init of price slider
...
Use case for when the widget is reloaded using AJAX
2020-10-20 15:56:02 +02:00
GREYS
dd10ad5637
Fix white space character #27360
2020-08-24 11:40:43 +09:00
vedanshujain
f74d2241f5
Additional protection for fieldlocale
2020-08-19 20:41:11 +05:30
Jonathan Sadowski
3b9ac931b6
Include alt in the items passed to initialize photoswipe
2020-07-02 13:17:34 -05:00
Claudio Sanches
ef6b369726
Merge pull request #26536 from catchmareck/master
...
Trigger removed_coupon_in_checkout event after coupon removal on checkout
2020-07-01 14:13:49 -03:00
Claudio Sanches
9ac5bcb586
Merge pull request #26697 from passatgt/master
...
Fixes for Hungarian address format and name order
2020-07-01 12:55:50 -03:00
Claudio Sanches
ca9a76c462
Fixed coding standards
2020-06-23 10:46:26 -03:00
Manos Psychogyiopoulos
06a7847f73
Preserve qty input val whan changing variations
2020-06-18 07:42:25 +03:00
jonathansadowski
68a5d88dd8
Merge pull request #26726 from woocommerce/fix/26298
...
Accessibility: Add aria-disabled to update cart button
2020-06-12 10:37:46 -05:00
Ron Rennick
e80e9a35a7
Merge branch 'master' into fix/26271
2020-06-12 10:48:39 -03:00
Ron Rennick
14ddcbc8eb
Merge pull request #26250 from mi5t4n/fix/26234
...
Hide only the tab content under the tab wrapper
2020-06-12 10:18:41 -03:00
Ron Rennick
d4f2fd0044
Merge pull request #26525 from helgatheviking/feature/find-variations-with-custom-attributes
...
Allow onFindVariation to accept custom attributes
2020-06-10 14:04:31 -03:00
Jonathan Sadowski
e13f763587
a11y: Add aria-disabled to update cart button
2020-06-08 15:05:27 -05:00
Viszt Péter
1724507a0e
Fixes for Hungarian address format and name order
...
Missing address-field class for Japan's postcode and state field
Checkout layout fixes on country change
2020-06-04 19:21:41 +02:00
Pan Seba
d5952d3b00
Trigger removed_coupon_in_checkout event after coupon removal on checkout
2020-05-18 13:16:30 +02:00
Kathy Daring
cecfee4f57
to account for <select> fields not being present, make sure ajax doesn't fire if there are no found attributes
2020-05-14 22:28:39 -06:00
Kathy Daring
d1672ff42e
optionally accept a custom array of chosen attributes. This will make it easier for "Swatches" and "Radio" input plugins to interact with the variations script without replacing the entire thing.
2020-05-14 22:27:40 -06:00
Kathy Daring
b93b9092ca
Give plugins an entry point into the VariationForm object
2020-05-14 22:26:13 -06:00
Christopher Allford
5b427c1155
Merge pull request #25654 from miguelfspinto/patch-2
...
Add option to override element tag container in checkout forms
2020-05-11 20:03:22 -07:00
Christopher Allford
b4f6564cdd
Merge pull request #26132 from BrandynL/show-password
...
bugfix for show password icon and password hint
2020-05-11 19:54:39 -07:00
Christopher Allford
7206365250
Merge pull request #25760 from helgatheviking/issues/25759-conditionally-disable-ajax-add-to-cart
...
Conditionally disable ajax add to cart
2020-05-11 19:46:50 -07:00
Claudio Sanches
3ce6d4f04a
Fixed coding standards
2020-05-11 20:00:23 -03:00
Christopher Allford
0d6675b490
Corrected ESLint violations in JS files
2020-05-04 20:49:29 -07:00
Sagar Tamang
ab8ee194c8
Fix: Show password toggle not working in checkout page
2020-04-25 23:37:43 +05:45
Sagar Tamang
fbdbecbcf6
Hide only the tab content under the tab wrapper
2020-04-23 01:20:21 +05:45
BrandynL
b234964a1c
changed append show-password-span to prepend to fix bug with password strength hint
2020-04-08 14:21:00 -04:00
Vedanshu Jain
e9bb84e18f
Merge pull request #25627 from bartech/master
...
Fix password visibility toggle (#25624 )
2020-04-06 18:22:07 +05:30
Yash Kapoor
872b4c135c
Added support for file in checkout ajax.
2020-03-21 12:27:37 +05:30
Kathy Daring
319395b0fa
update the add to cart button if ajax request not sent
2020-03-13 18:27:45 -06:00
Kathy Daring
4ed91d9482
quit early if should_send_ajax_request.adding_to_cart triggerHandler is false and trigger a custom event instead
2020-03-13 18:26:37 -06:00
Kathy Daring
6937baccce
Revert "Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759."
...
This reverts commit 38e081e590
.
2020-03-13 18:25:25 -06:00
Boro Sitnikovski
15641bf08f
Trigger change and set val to qty so that it properly updates event handlers
2020-03-12 16:01:30 +01:00
Kathy Daring
38e081e590
Set adding_to_cart trigger to variable. If false, do not fire ajax. Closes #25759 .
2020-02-25 13:12:27 -07:00
vedanshujain
d904786d7d
Support both `.data()` and `.datasore` to have better compatibility
...
PR #24818 replaces data with datastore, however both of them have nothing to do with each other. `.data()` is jQuery specific memory datastore per element, whereas datastore is relatively newer way to store data associated with elements using `data-*` attributes.
There is no reason to not support both.
2020-02-21 15:47:31 +05:30