Commit Graph

106 Commits

Author SHA1 Message Date
roykho 7f0f2c8320 Update deprecated jQuery functions for woocommerce_admin.js 2021-04-28 16:21:59 -05:00
Kathy Daring afd164e271 revert 0ccff4dda5. restore jQuery .focus() 2021-02-02 13:38:48 -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 60f49f25d0 Replace jQuery.change() 2021-01-07 15:08:36 -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
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
David Stone 4486f06cda Use keepAlive for better user experience
keepAlive lets the user hover over the tooltip without closing it.
closes # 26555
2020-05-19 14:40:56 -06:00
Christopher Allford 0d6675b490 Corrected ESLint violations in JS files 2020-05-04 20:49:29 -07:00
Claudio Sanches 104f40c36e
Merge pull request #24281 from woocommerce/fix/24269
Handle multiple decimal points
2019-12-09 14:07:29 -03:00
Mehidi Hassan 3f8e3fdb2d Add space before parentheses of if condition for JS consistency 2019-10-10 23:37:56 +06:00
Claudio Sanches 9851b1f0f3 DRY 2019-10-03 21:19:52 -03:00
Claudio Sanches 2b0fc6f50a Added sanitization for number of decimal points in JS 2019-08-02 14:02:33 -03:00
Claudio Sanches 375b989322 Added validation for multiple decimal points 2019-08-02 13:58:02 -03:00
haszari 5671a6f7ca in-product discovery - don't promote extensions that are already installed:
- + move suggestions client code to a module, enqueued only on relevant pages
2019-02-13 10:39:27 +13:00
haszari 2c24a567d0 in-product discovery - render suggestions in products list 2019-02-12 16:24:37 +13:00
Mike Jolley 5b70639994 Prompt when removing personal data 2018-06-11 11:00:29 +01:00
Mike Jolley 35db31db32 Add notice text, fix typos 2018-06-11 10:35:34 +01:00
Mike Jolley 814c62aaf2 merge master 2018-05-30 14:35:32 +01:00
Mike Jolley cf9fa5b3ff Updates table styling and columns 2018-05-04 18:48:41 +01:00
Mike Jolley 6e90ff3ac3 JS handling for move up/down buttons 2018-04-24 19:25:45 +01:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Peter Fabian 1ef47120a8 Link product import/export to import/export capabilities
- show Import/Export Products buttons only if the user has import/export capability
- show Woo importer/exporter under Tools only if user has import/export capability
- require both edit_products and import/export to run those actions
-
2018-04-04 10:30:49 +02:00
Mike Jolley 83f8bcb8ce Make the init tooltips after inline editing more specific 2018-02-21 13:34:07 +00:00
Mike Jolley b95812d563 Handle quick edit 2018-02-08 12:35:57 +00:00
Caleb Burks 4ca94e8f21 Add tooltip for default category 2018-02-07 19:24:43 -05:00
Shiva Poudel 5e48861ba1 Remove demo store notice JS 2018-02-05 10:23:35 +05:45
claudiulodro 00372e9bb0 Remove videos from help sections 2018-01-08 10:48:25 -08:00
claudiulodro eea518dda2 Focus on inputs when clicked instead of sorting 2018-01-03 12:10:08 -08:00
Mike Jolley 29fed057af Mobile styling 2017-11-22 16:28:11 +00:00
Mike Jolley b3e7260c95 Improve styling of order actions columns 2017-11-22 16:14:30 +00:00
Mike Jolley 47d69dad2d Load videos when the help tab is opened, not before.
Closes #17145
2017-10-12 12:18:37 +01:00
claudiulodro 09c9c6e359 Dont set everything up if key variable doesnt exist 2017-06-28 08:31:55 -07:00
Claudio Sanches c19da29223 Fixed a typo 2017-06-08 15:52:34 -03:00
Mike Jolley 5ee38c54c2 Option to disable reviews globally 2017-06-08 15:26:30 +01:00
Mike Jolley d67fb8fb83 New style import controller
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley 5939939244 Wizard and blank state 2017-05-16 15:36:56 +01:00
Mike Jolley 74e2f61f0c Import and export buttons 2017-05-16 15:06:22 +01:00
Ryan Ray b2107f1a62 Renaming what used to be WooCommerce 101 videos to the current Guided
Tour naming scheme.
2017-02-25 11:40:10 -05:00
Mike Jolley 9d1c425952 combined logic 2016-05-17 14:08:23 +01:00
Caleb Burks b2d33f00e8 Order change/keyup price function
on change then keyup for each item. OCD issues
2016-05-16 17:06:05 -05:00
Caleb Burks d37f191833 Add decimal error and fix for refund amount 2016-05-16 17:04:38 -05:00
Mike Jolley 792bb7a27c Fix regex
Closes #10818
2016-04-29 16:56:43 +01:00
Mike Jolley 826613db3c Grunt dev 2016-04-18 15:37:19 +01:00
Mike Jolley b1d32b3f8c Change error events for inline validation
Fixes #10691
2016-04-18 13:27:05 +01:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley 6f04ff1fa0 Replace size with length
Fixes #10444
2016-03-01 13:08:25 +00:00
Mike Jolley 8c85183d6e [2.5] Remove case check from tax rate country REGEX 2016-01-27 12:10:36 +00:00
Claudio Sanches 3fb84f91c1 Improved code for #10127 2016-01-20 22:54:29 -02:00