Commit Graph

1441 Commits

Author SHA1 Message Date
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 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
jonathansadowski 2e60d47a01
Merge pull request #29181 from woocommerce/fix/27233
Use AJAX for Page Configuration
2021-03-23 11:46:00 -05:00
roykho e5380ac966
Add new function to handle single page search closes #27233 2021-03-22 13:20:16 -07:00
Peter Fabian f7755f123e Enable bulk updates of variations with low stock amount. 2021-03-10 18:15:31 +01:00
Christopher Allford 5e771d8e4f Started Converting Woo Page Dropdowns
Since the page selection dropdowns in the Advanced settings area are
populated on load we can end up taking a very long time to load on
shops that have lots of pages. This commit adds page search support
to wooSelect and starts converting the pages to use it.
2021-02-19 15:28:07 -08:00
Claudio Sanches 881159dd31 Indent with tabs 2021-02-18 20:02:56 -03:00
Moon ba2f97af62
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:27 -08:00
Moon ab8d29ea0c
Update assets/js/admin/wc-status-widget.js
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-18 13:17:22 -08:00
Moon 3707764736 Add tracking to WooCommerce Status widget -- net-sales, order-processing, orders-on-hold, low-stock, and out-of-stock 2021-02-15 16:41:14 -08:00
vedanshujain 2bb419e92f Fix eslint errors. 2021-02-05 12:35:40 +05:30
Kathy Daring 56281fc804 Reverse adb2c6b86... Restore jQuery.select() 2021-02-02 13:41:07 -07:00
Kathy Daring afd164e271 revert 0ccff4dda5. restore jQuery .focus() 2021-02-02 13:38:48 -07:00
Kathy Daring ffdb2d9059 Merge branch 'master' into issues/28286-jquery-3
# Conflicts:
#	assets/js/admin/meta-boxes-product.js
2021-02-02 09:43:08 -07:00
Kathy Daring 9b7b72f00a replace jQuery.bind except in 3rd party assets 2021-02-02 09:38:04 -07:00
Kathy Daring e6f620d156 Revert "replace jQuery..bind except in 3rd party assets"
This reverts commit 61c4e20863.
2021-01-07 15:16:59 -07:00
Kathy Daring 489d8042d0 Replace jQuery.trim() except in 3rd party assets 2021-01-07 15:15:15 -07:00
Kathy Daring 60f49f25d0 Replace jQuery.change() 2021-01-07 15:08:36 -07:00
Kathy Daring adb2c6b86e Replace jQuery.select() 2021-01-07 15:07:02 -07:00
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
Tanvirul Haque 6379089465 Fix: Attributes on Edit Product page - "Select all" not working after "Select none" used 2020-12-29 18:55:20 +06: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 23af5478ec Fix JS coding standards 2020-12-05 11:11:56 -03:00
roykho beebbb8e25
Switch to general panel when virtual is enabled and on shipping tab closes #28267 2020-11-25 10:12:24 -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
Rodrigo Primo 5c8491c862 Remove jQuery code that does nothing
This commit replaces a block of jQuery code that I believe does nothing. I found it while starting the work to make our JS code compatible with jQuery 3 as it uses jQuery.fn.keyup() which has been deprecated.

As far as I can understand, this block of code is supposed to change the focus to the coupon description when the user hits the tab key while the focus is on the title field. It doesn't work because the keyup event is not fired for the tab key. The current behavior is that when the user hits the tab key, the focus changes to the "Generate coupon code" button, and if the tab key is pressed another time, the focus changes to the description text field. Which seems fine to me and that is why I'm suggesting we remove this code instead of fixing it.

I believe it was added in this c15b8e817c commit six years ago and unfortunatelly the commit doesn't provide much information on why it was added.
2020-11-17 14:39:55 -03:00