Commit Graph

790 Commits

Author SHA1 Message Date
Mike Jolley f6fe8d1abc Priority should use integers
#22227
2019-01-14 14:58:00 +00:00
Mike Jolley d83c9c5f5b When page is ready, make fields update for all country fields 2019-01-14 14:44:54 +00:00
Mike Jolley 3922d186e0 trigger event when ready (wc_address_i18n_ready) 2019-01-14 14:44:14 +00:00
Ron Rennick 0456cb7323 update second instance of href reassign in cart.js, props @joshuatf 2018-12-19 11:19:47 -04:00
Ron Rennick dc41135a05 use reload() instead of reassigning href property 2018-12-19 11:16:59 -04:00
claudiulodro 3fc51354a4 Decode variation html dimensions 2018-11-06 17:10:20 -05:00
Gerhard ba90c531c7 Remove the change trigger as that is causing other issues as per ##20640 2018-10-31 07:29:35 +02:00
Gerhard c0acd73d31 Trigger a country select on page load to ensure the address-i18n is fired on first page load. 2018-10-29 13:39:54 +02:00
claudiulodro 24d2948299 Recompile assets 2018-09-28 08:28:45 -07:00
Dominik Krebs 0af4941187 corrected code style 2018-09-26 16:10:37 +02:00
Dominik Krebs 64399b65b9 fixes an issue with additional payment select fields having 'disabled selected' 2018-09-19 13:35:00 +02:00
claudiulodro 4d6ab678c1 Fix linter errors 2018-08-30 09:56:26 -07:00
Peter Fabian 23623323b7 Change caption of image when variation is selected. 2018-08-09 14:23:29 +02:00
Peter Fabian caa978cf2d Use jQuery for scrolling to element for all browsers to avoid special cases. 2018-08-06 19:56:09 +02:00
LuigiPulcini 79cda7c2bc
Update add-to-cart.js 2018-07-23 08:11:21 -07:00
LuigiPulcini bca7bfe29c
Adding product data to `removed_from_cart` event
Adding `$thisbutton.data()` to the arguments sent by the `removed_from_cart` event.
This would help developers easily detect which product has just been removed and alter their theme/plugin accordingly.
2018-07-14 16:11:16 +02:00
Claudio Sanches 2a1940aeba Fixed notice when variation does not exists on frontend
Closes #20752
2018-07-11 22:02:56 -03:00
Peter Fabian 11da1898b8 Removed unnecessary form change trigger on load of checkout page. 2018-06-28 18:12:04 +02:00
Mike Jolley ab6e9ce568
Merge pull request #19496 from valdrinkoshi/master
Avoid using eval in add-to-cart-variation.js
2018-06-27 18:43:00 +01:00
valdrinkoshi 6e602636eb use wp.template when it's too hard 2018-06-15 10:05:00 -07:00
valdrinkoshi b2eb217eb8 handle interpolate escaped 2018-06-15 08:17:17 -07:00
valdrinkoshi 22d53675e6 avoid using wp.template in onFoundVariation 2018-06-15 08:08:34 -07:00
Mike Jolley 5e6405b650 Merge branch 'master' into update/13359 2018-06-15 15:12:12 +01:00
Mike Jolley 6152aea961
Merge pull request #20506 from woocommerce/refactor/20420
Tokenization form refactor
2018-06-14 16:22:45 +01:00
Mike Jolley 0c819cbd08
Merge pull request #20432 from woocommerce/fix/20399
stopPropagation when payment method selected
2018-06-14 15:26:40 +01:00
Mike Jolley cfe1cb5c16 Handle login and change events 2018-06-12 15:32:01 +01:00
Mike Jolley e5192cfeff Fix :checked 2018-06-12 15:01:22 +01:00
Mike Jolley ac2d76ea53 Refactor tokenization form 2018-06-12 14:57:55 +01:00
Mike Jolley 663f7c4a76 click event fallback 2018-06-11 13:16:02 +01:00
Mike Jolley 8261cffaa7 Remove bulk actions 2018-06-07 18:01:21 +01:00
Mike Jolley d74db270b8 stopPropagation when payment method selected 2018-06-07 15:41:25 +01:00
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Mike Jolley 86993a4f70 Merge branch 'master' into update/13624 2018-06-07 10:30:52 +01:00
Mike Jolley ab6d5a8f75 re-init zoom to fix case #20367 2018-06-05 13:22:35 +01:00
Mike Jolley 001a2e3b98 Merge branch 'master' into fix/20311 2018-06-05 12:57:48 +01:00
Gerhard Potgieter b8622398f5 Strict comparison 2018-06-04 12:23:22 +02:00
Gerhard Potgieter 5ee3b5dc99 Cater for -1 strengh when the library fails to load, it should remove the disabled attr so the form can continue to be submitted. 2018-06-04 08:39:24 +02:00
Mike Jolley 18c7e16a72 reset only when needed. 2018-05-31 14:57:01 +01:00
Mike Jolley 9f6c7e2a57 JS min 2018-05-31 10:44:52 +01:00
Mike Jolley 814c62aaf2 merge master 2018-05-30 14:35:32 +01:00
Mike Jolley 8a6e3e30a6 If flexslider is disabled, gallery images also need to trigger photoswipe on click. 2018-05-29 12:50:40 +01:00
Ewout Fernhout 292be93403
Update address-i18n.js
fixes #20194
2018-05-24 14:37:21 +02:00
Chase Wiseman 346e710314 Only hide .payment_box elements init for multiple methods
Prevents hiding a single payment method’s UI on the order pay page
2018-05-22 14:42:16 -07:00
pierrebuet 3b18ac12d1 Avoid double input field
When geolocalization is active and a form uses the GET method, the script adds an hidden field for the geolocalization hash v, without checking if it already exists. But wc_query_string_form_fields adds it already, if the parameter was present in the called url.
2018-05-18 21:39:19 +02:00
Mike Jolley 83edda2b1f min 2018-05-11 11:57:30 +01:00
Mike Jolley 9cb0d3c884 Slideup during init to prevent jump on RTL sites 2018-05-11 11:55:22 +01:00
Peter Fabian fcad799606 ScrollIntoView excplicitly asked to scroll to center vertically.
Even though this should be the default, Firefox defaults to top.
2018-05-09 14:40:21 +02:00
Claudiu Lodromanean 911c2d45c4
Merge pull request #20006 from woocommerce/fix/19970
Render password meter in place
2018-05-08 11:47:28 -07:00
Claudiu Lodromanean 7528762ee2
Merge pull request #20002 from woocommerce/fix/19959
Zoom improvements for mobile/touch
2018-05-08 11:16:44 -07:00
Mike Jolley 1788273e48 Minify 2018-05-08 18:11:01 +01:00