woocommerce/assets/js/admin
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
..
api-keys.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
backbone-modal.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
marketplace-suggestions.js fix logic for new tab check on edit product page 2019-07-12 13:42:36 +12:00
meta-boxes-coupon.js Always load generate code button 2019-07-09 16:46:17 -03:00
meta-boxes-order.js Replace all occurrences of jQuery.parseJSON() 2020-10-22 10:11:27 -03:00
meta-boxes-product-variation.js Revert "Improved performance when saving variations" 2020-03-17 08:55:09 -07:00
meta-boxes-product.js Fixed jQuery selector 2020-07-29 19:21:24 -03:00
meta-boxes.js Remove jQuery code that does nothing 2020-11-17 14:39:55 -03:00
network-orders.js Updates for coding standards 2017-11-14 18:59:20 -07:00
product-ordering.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
quick-edit.js Rename `quick-edit-warning` style with `wc-` prefix, and add styling. 2020-07-14 16:02:59 +02:00
reports.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
settings-views-html-settings-tax.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
settings.js Settings lost warning should be shown always. 2020-06-26 10:52:28 +02:00
system-status.js Adds a prompt to confirm if should run tools in the Status page. 2020-06-01 18:56:38 -03:00
term-ordering.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
users.js Replace all occurrences of jQuery.parseJSON() 2020-10-22 10:11:27 -03:00
wc-clipboard.js Use opacity:0 and fix linted js 2017-09-21 13:24:34 -07:00
wc-enhanced-select.js Added support for excluding certain product types from AJAX product searches 2019-12-03 14:14:47 -08:00
wc-orders.js Filter out buttons as well from the onRowClick event on the orders table. 2018-11-19 10:26:54 +02:00
wc-product-export.js Control categories export field based on export type 2019-08-27 16:11:05 -03:00
wc-product-import.js Fixed coding standards 2020-07-01 13:00:25 -03:00
wc-setup.js update deprecation versions to 4.6.0 2020-09-18 13:16:46 -03:00
wc-shipping-classes.js Fix - Default shipping class not loading from localize script 2017-11-22 11:34:03 +05:45
wc-shipping-zone-methods.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
wc-shipping-zones.js Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
woocommerce_admin.js Use keepAlive for better user experience 2020-05-19 14:40:56 -06:00