Jonathan Sadowski
4d32ef0dac
Fix issue with jQuery migration and editing addresses in wp-admin
2021-06-09 16:06:18 -05:00
Jonathan Sadowski
b157fe8eac
Restore inadvertant removal of semicolon in select2
2021-06-09 13:03:25 -05:00
Jonathan Sadowski
67a5a969b4
Fix a typo in params.term comparison
2021-06-09 12:59:35 -05:00
Jonathan Sadowski
2fad2d7116
Update former uses of jQuery.trim to work properly with non-string types
2021-06-09 12:50:03 -05:00
Sabbir Ahmed
81fd117b70
redirect without removing the events handler
2021-06-07 22:43:33 +06:00
Sabbir Ahmed
4b33e5490f
fix js console error when add new shipping zone button clicked
2021-06-01 12:05:05 +06:00
roykho
2e106f64cf
Use prop function to set attributes closes #29709
2021-05-24 12:55:15 -07:00
roykho
7dd2be207e
Fix regression of using jQuery ON when bind should be used ref #28822
2021-05-21 08:08:33 -07:00
Vedanshu Jain
90b50f11f3
Merge pull request #29843 from woocommerce/add/wc-pay-ad-banner
...
Add support for WooCommerce Payments ad banner on extensions screen's "Featured" section
2021-05-13 16:56:55 +05:30
And Finally
de331ad893
Addressing feedback. Removed `!important` from `.addons-button-expandable` rule. Renamed `geowhitelist` and `geoblacklist` to `geo_allow_list` and `geo_block_list`.
2021-05-12 09:41:31 +01:00
And Finally
e4d3b157ff
Changed block name and CSS classnames to the more generic "promotion block".
2021-05-06 22:12:07 +01:00
And Finally
f1a69cb4af
Added comment to new `output_ad_block` method. Removed differences introduced by PhpStorm autoformat.
2021-05-06 15:16:49 +01:00
And Finally
3fa233872c
Added `output_ad_block` method to `WC_Admin_Addons` and CSS rules to render a WooCommerce Payments ad banner at the top of the "Featured" section of the WC Core addons page, `wp-admin/admin.php?page=wc-addons§ion=_featured`. This is to fulfil the requirements of WooCommerce.com issue https://github.com/Automattic/woocommerce.com/issues/9860 .
...
We output the block if
- The user has permissions to install plugins.
- Their location is in one of the countries identified in a `geowhitelist`.
- WooCommerce Payments is not already active.
2021-05-06 12:55:30 +01:00
Jonathan Sadowski
4e8629e8c8
Update cart-fragments.js to remove deprecated jQuery bind function
2021-04-28 16:26:32 -05:00
Jonathan Sadowski
9e89ac8b95
Correct bind usage in product import and export (bind wasn't targeting jQuery object; was native JS bind)
2021-04-28 16:26:32 -05:00
roykho
37736799d6
Update deprecated jQuery functions in includes folder
2021-04-28 16:26:32 -05:00
roykho
6a1e3eb85c
Revert load function
2021-04-28 16:26:31 -05:00
roykho
1215f1965e
Update deprecated jQuery functions for wc-product-import.js
2021-04-28 16:26:31 -05:00
roykho
f4745ed022
Update deprecated jQuery functions for wc-product-export.js
2021-04-28 16:26:31 -05:00
roykho
1710a84948
Fixed removeAttribute replacements
2021-04-28 16:26:31 -05:00
roykho
a98b27bd54
Update deprecated jQuery functions for meta-boxes-product.js
2021-04-28 16:26:31 -05:00
roykho
6522893277
Update deprecated jQuery functions for meta-boxes-product.js
2021-04-28 16:26:31 -05:00
roykho
38cabd27fd
Update deprecated jQuery functions for meta-boxes-product-variation.js
2021-04-28 16:26:31 -05:00
roykho
796d4f51ac
Update deprecated jQuery functions for meta-boxes-order.js
2021-04-28 16:26:31 -05:00
roykho
e0940ef78d
Update deprecated jQuery functions for jquery.tiptip.js
2021-04-28 16:26:31 -05:00
roykho
38e448a427
Update deprecated jQuery functions for jquery.cookie.js
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
581e402f09
Update selectWoo.js to trigger blur instead of using deprecated blur method for jQuery3 compat
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
09da77eb18
Update wc-setup.js to set required prop to false instead of removing attribute for jQuery3 compat
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
1f7f12c4ab
Update selectWoo.js to use String.prototype.trim instead of jQuery.trim
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
6f1a1b2492
Update select2.js to use String.prototype.trim instead of jQuery.trim
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
8026131767
Update select2.full.js to use String.prototype.trim instead of jQuery.trim
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
a7d6e60334
Update selectWoo.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility
2021-04-28 16:26:31 -05:00
Jonathan Sadowski
56dbdedfb2
Update select2.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
2e0c538e8f
Update select2.full.js to use typeof check instead of jQuery.isFunction() for jQuery 3 compatibility
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
8a2702d0cd
Update selectWoo.js to use Array.isArray instead of jQuery.isArray for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
944d5c06c1
Update select2.js to use Array.isArray instead of jQuery.isArray for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
e62ea96a3e
Update select2.full.js to use Array.isArray instead of jQuery.isArray for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
fc93c2474d
Update select2.full.js to use off() instead of unbind() for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
89e9e2932d
Update select2.full.js to use on() instead of bind() for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
2e4c7d93c2
Update selectWoo.js to use trigger('focus') instead of focus() for jQuery 3 compat
2021-04-28 16:26:30 -05:00
Jonathan Sadowski
ce12a2a895
Update select2.full.js to use trigger('focus') instead of focus() for jQuery 3 compat
2021-04-28 16:26:28 -05:00
Jonathan Sadowski
a09e82e4b6
Update select2.full.js to use trigger('focus') instead of focus() for jQuery 3 compat
2021-04-28 16:24:40 -05:00
Jonathan Sadowski
c9b1012095
Update stupidtable.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
a95f084d9f
Update woocommerce.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
f685cda40d
Update wc-orders.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
8f013a9c9a
Update system-status.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
24b787b2da
Update settings.js to resolve jQuery data change in jQuery 3
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
7be2388e06
Update jquery-ui-touch=punch.js to remove deprecated jQuery bind and unbind functions
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
a61bd3c99d
Update price-slider.js to remove deprecated jQuery bind function
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
294b257710
Update cart-fragments.js to remove deprecated jQuery bind function
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
f5b3556e14
Replace .data() call in checkout.js for jQuery 3 Compatibility
2021-04-28 16:22:00 -05:00
Jonathan Sadowski
15df81e2d9
Correct bind usage in product import and export (bind wasn't targeting jQuery object; was native JS bind)
2021-04-28 16:22:00 -05:00
roykho
6c804e31d7
Update deprecated hovers
2021-04-28 16:22:00 -05:00
roykho
a75a3d7176
Update .focus and .toggleClass that were missed
2021-04-28 16:22:00 -05:00
roykho
84533ac38f
Update deprecated jQuery functions for selectWoo.full.js
2021-04-28 16:22:00 -05:00
roykho
b78aa4e00a
Fix deprecated jQuery removeClass function
2021-04-28 16:22:00 -05:00
roykho
387e095a01
Update deprecated jQuery functions in includes folder
2021-04-28 16:21:59 -05:00
roykho
09aabeeb6f
Revert load function
2021-04-28 16:21:59 -05:00
roykho
242949850d
Update deprecated jQuery functions for tokenization-form.js
2021-04-28 16:21:59 -05:00
roykho
5de6a1ee95
Update deprecated jQuery functions for password-strength-meter.js
2021-04-28 16:21:59 -05:00
roykho
a5409a8ca1
Update deprecated jQuery functions for country-select.js
2021-04-28 16:21:59 -05:00
roykho
b23d218a37
Update deprecated jQuery functions for checkout.js
2021-04-28 16:21:59 -05:00
roykho
1e55db0e4d
Update deprecated jQuery functions for address-i18n.js and cart-fragments.js
2021-04-28 16:21:59 -05:00
roykho
67ea396f7d
Update deprecated jQuery functions for add-to-cart-variation.js
2021-04-28 16:21:59 -05:00
roykho
8cf743caee
Update deprecated jQuery functions for add-payment-method.js
2021-04-28 16:21:59 -05:00
roykho
7f0f2c8320
Update deprecated jQuery functions for woocommerce_admin.js
2021-04-28 16:21:59 -05:00
roykho
d2c3ae204f
Update deprecated jQuery functions for wc-shipping-zone-methods.js
2021-04-28 16:21:59 -05:00
roykho
d213e3d959
Update deprecated jQuery functions for wc-shipping-classes.js
2021-04-28 16:21:59 -05:00
roykho
15492c0942
Update deprecated jQuery functions for wc-setup.js
2021-04-28 16:21:59 -05:00
roykho
4ebce91559
Update deprecated jQuery functions for wc-product-import.js
2021-04-28 16:21:59 -05:00
roykho
78adef7f80
Update deprecated jQuery functions for wc-product-export.js
2021-04-28 16:21:59 -05:00
roykho
eee6c96871
Update deprecated jQuery functions for wc-clipboard.js
2021-04-28 16:21:59 -05:00
roykho
76762a08f8
Update deprecated jQuery functions for users.js
2021-04-28 16:21:59 -05:00
roykho
b924230b41
Update deprecated jQuery functions for system-status.js
2021-04-28 16:21:59 -05:00
roykho
142aad6a44
Update deprecated jQuery functions for settings.js
2021-04-28 16:21:58 -05:00
roykho
d84eb2d6bb
Update deprecated jQuery functions for settings-views-html-settings-tax.js
2021-04-28 16:21:58 -05:00
roykho
81d6e50bbd
Update deprecated jQuery functions for quick-edit.js
2021-04-28 16:21:58 -05:00
roykho
58cfd4c0c2
Fixed removeAttribute replacements
2021-04-28 16:21:58 -05:00
roykho
4d0df8d341
Update deprecated jQuery functions for meta-boxes-product.js
2021-04-28 16:21:58 -05:00
roykho
f59c7772e5
Update deprecated jQuery functions for meta-boxes-product.js
2021-04-28 16:21:58 -05:00
roykho
afb9656561
Update deprecated jQuery functions for meta-boxes-product-variation.js
2021-04-28 16:21:58 -05:00
roykho
18797493b3
Update deprecated jQuery functions for meta-boxes-order.js
2021-04-28 16:21:58 -05:00
roykho
6e50fc0cf1
Update deprecated jQuery functions for meta-boxes-coupon.js
2021-04-28 16:21:58 -05:00
roykho
13a9dbb422
Update deprecated jQuery functions for backbone-modal.js
2021-04-28 16:21:58 -05:00
roykho
37f7ccc1f2
Update deprecated jQuery functions for api-keys.js
2021-04-28 16:21:58 -05:00
roykho
08aa9e32eb
Update deprecated jQuery functions for jquery.blockui.js
2021-04-28 16:21:58 -05:00
roykho
3d1391f6bd
Update deprecated jQuery functions for jquery.zoom.js
2021-04-28 16:21:58 -05:00
roykho
a5543fd79f
Update deprecated jQuery functions for jquery.tiptip.js
2021-04-28 16:21:58 -05:00
roykho
ebdaaa3f08
Update deprecated jQuery functions for jquery.cookie.js
2021-04-28 16:21:58 -05:00
roykho
6b7b8d7b8e
Update deprecated jQuery functions for jquery.flexslider.js
2021-04-28 16:21:58 -05:00
roykho
ac445e058c
Update deprecated jQuery functions for jquery.flot
2021-04-28 16:21:58 -05:00
roykho
176cd16278
Update deprecated jQuery functions for jquery.flexslider.js
2021-04-28 16:21:58 -05:00
roykho
dddd0d6588
Update deprecated jQuery functions for jquery.serializejson.js
2021-04-28 16:21:57 -05:00
roykho
e4bfbe7597
Update deprecated jQuery functions for jquery.float.resize.js
2021-04-28 16:21:57 -05:00
roykho
c4c02a20bb
Update deprecated jQuery functions for jquery.flot.js
2021-04-28 16:21:57 -05:00
roykho
ef572483d8
Update deprecated jQuery functions for jquery.payment.js closes #28284
2021-04-28 16:21:57 -05:00
barryhughes
27db35de67
Update SelectWoo to 1.0.9 and take advantage of data-label support.
2021-04-15 16:55:29 -07:00
Barry Hughes
90d9dce1f4
Merge pull request #29510 from woocommerce/fix/29359
...
Prevent saved changes message when leaving page closes #29359
2021-03-30 07:09:00 -07:00
roykho
1234a5a46f
Add comment for clarity
2021-03-30 05:46:36 -07:00
roykho
4cf6625f0c
Prevent saved changes message when leaving page closes #29359
2021-03-26 15:09:43 -07:00