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
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
roykho
ad77c37b41
Typo on the variable
2021-03-24 10:07:35 -07:00
roykho
9118349520
Remove duplicate notices from cart during ajax updates closes #28914
2021-03-24 09:59:20 -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
Néstor Soriano
7ba48234fa
Merge pull request #29397 from woocommerce/fix/issue-29163
...
Fix offsets not calculated correctly sometimes on select2 dropdowns …
2021-03-17 09:38:04 +01:00
Néstor Soriano
17224d0ab1
Merge pull request #29345 from woocommerce/hw/low-stock-threshold-for-variations
...
Low stock threshold for variations
2021-03-17 08:59:32 +01:00
roykho
a1cda953dc
Fix offsets not calculated correctly sometimes on select2 dropdowns closes #29163
2021-03-16 07:39:09 -07:00
Roy Ho
57569c5168
Merge pull request #29232 from Dartui/trunk
...
Pass checkout submit result to triggered handler
2021-03-15 09:46:31 -07:00
Roy Ho
b04e08fb52
Merge pull request #29282 from hsingyuc/fix/29261
...
Trigger country field change on address change click
2021-03-12 12:55:34 -08:00
Peter Fabian
f7755f123e
Enable bulk updates of variations with low stock amount.
2021-03-10 18:15:31 +01:00
hsing
24c4c7658a
Trigger country field change on address change click
2021-03-04 16:01:07 -05:00
Claudio Sanches
bcdfe3cb68
Merge pull request #29182 from woocommerce/fix/26973-get-customer-location
...
Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973
2021-02-26 20:33:29 -03:00
Krzysztof Grabania
626dcb1fb1
Pass checkout submit result to triggered handler
2021-02-26 11:55:49 +01:00
Barry Hughes
94ed76a2f2
Update assets/js/frontend/geolocation.js (fix coding standards)
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-25 13:46:55 -08:00
Barry Hughes
5380d119ce
Update assets/js/frontend/geolocation.js (fix coding standards)
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-02-25 13:46:46 -08: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
barryhughes
761f155fc3
Avoid/minimize wc-ajax requests when `geolocation_ajax` is enabled | #26973
2021-02-19 14:50:59 -08:00
Claudio Sanches
b6fe772d54
Merge pull request #29109 from woocommerce/update/add-tracking-to-status-widget
...
Add tracking to WooCommerce Status widget
2021-02-18 20:03:50 -03:00
Claudio Sanches
881159dd31
Indent with tabs
2021-02-18 20:02:56 -03:00
Claudio Sanches
ddc71d71a6
Merge pull request #27242 from jgreys/fix/27021
...
Checkout: phone number validation fix #27021
2021-02-18 19:31:33 -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
roykho
5c76d8df59
Revert jQuery function change as these are not jQuery objects
2021-02-04 12:36:15 -08:00
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
Claudio Sanches
12c6a6b082
Fixed coding standards
2021-01-28 17:07:26 -03:00
Kathy Daring
34bd50bce3
replace removeAttr with prop()
2021-01-21 10:22:30 -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
c905d21862
Replace jQuery.blur() except in 3rd party assets
2021-01-07 15:12:16 -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
Kathy Daring
cc0714f612
Replace Jquery.isFunction() except in 3rd party assets
2021-01-07 14:59:17 -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
roykho
cce5cbe985
Remove packaged minified files
2020-12-14 07:41:45 -08:00
Roy Ho
8f37a6936f
Merge pull request #28014 from JoryHogeveen/feature/20-10-20-price-slider-init-trigger
...
Widget: Price Slider - trigger to re-initialize
2020-12-08 13:35:10 -08: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
Christopher Allford
ea888a4a21
Revert "Added support for file in checkout ajax."
2020-11-16 09:04:15 -08:00
Rodrigo Primo
7659b984dc
Merge pull request #28058 from woocommerce/fix/27937
...
Replaces some jQuery deprecated code
2020-11-12 14:00:39 -03:00
Dominic Vermeulen-Smith
2c17454956
Merge remote-tracking branch 'upstream/master' into add-data-to-checkout_error
2020-10-29 13:39:40 +00:00
Dominic Vermeulen-Smith
d2696e395b
add error messages to checkout_error event
2020-10-26 18:03:06 +00:00
Rodrigo Primo
3d965f06e0
Merge pull request #25988 from yash-webkul/patch-1
...
Added support for file in checkout ajax.
2020-10-24 11:11:21 -03:00
Rodrigo Primo
291884e154
Replace all occurrences of jQuery.parseJSON()
...
jQuery.parseJSON() is deprecated (https://api.jquery.com/jquery.parsejson/ ). This commit replaces all of its occurrences with JSON.parse().
2020-10-22 10:11:27 -03:00
Jory Hogeveen
34eb09dfa1
Use `on` instead of `bind`
...
Bind will be deprecated
2020-10-20 15:56:43 +02:00
Jory Hogeveen
269ca73aa8
Allow re-init of price slider
...
Use case for when the widget is reloaded using AJAX
2020-10-20 15:56:02 +02:00
Claudio Sanches
ef956e64e7
Update minified jQuery TipTip file
2020-10-19 21:18:20 -03:00
Ron Rennick
43051a0950
update deprecation versions to 4.6.0
2020-09-18 13:16:46 -03:00
Ron Rennick
9915a5b142
merge master
2020-09-18 12:53:28 -03:00
John Greys
cbcb07be02
Coding standards fixes
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-05 08:26:48 +09:00
John Greys
8d63457a60
Coding standards fixes
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2020-09-05 08:26:36 +09:00
Claudio Sanches
09630202e7
Merge pull request #27459 from jgreys/fix/27360
...
Fix white space character #27360
2020-08-28 17:23:12 -03:00
Ron Rennick
8fe3bcb90e
rebase to current master
2020-08-28 10:59:43 -03:00
GREYS
dd10ad5637
Fix white space character #27360
2020-08-24 11:40:43 +09:00
GREYS
55cf3e2508
Update checkout.js
2020-08-23 14:50:02 +09:00
GREYS
2a5bb98f0b
Merge branch 'master' into fix/27021
2020-08-23 10:22:45 +09:00
Hayden Whiteman
3fca3caf1d
Fix #27413
2020-08-22 19:35:13 +12:00
vedanshujain
f74d2241f5
Additional protection for fieldlocale
2020-08-19 20:41:11 +05:30
Ron Rennick
72df8aecfa
updated deprecated version to 4.5.0
2020-08-13 14:46:12 -03:00
Ron Rennick
f0ad8a01be
merge current master
2020-08-13 14:33:07 -03:00
GREYS
82d2124a74
Fix for issue #27021
2020-08-06 16:07:39 +09:00
Claudio Sanches
94f8d2d576
Fixed jQuery selector
2020-07-29 19:21:24 -03:00
Claudio Sanches
97c7937fd9
Fixed "Product type" dropdown on WP 5.5
...
WP 5.5 doesn't introduce a <span> tag inside metaboxes headings
2020-07-29 19:12:02 -03:00
Claudio Sanches
db82c98801
Merge pull request #26945 from woocommerce/fix/25233
...
Photoswipe: Populate alt attribute for photoswipe galleries
2020-07-27 11:35:13 -03:00
Claudio Sanches
7bd34e3545
Merge branch 'master' into fix/25843
2020-07-24 17:04:28 -03:00
Christopher Allford
b21c3fb55a
Updated minified files
2020-07-16 21:44:49 -07:00
Claudio Sanches
e340a20312
Merge pull request #26880 from wpdesk/bugfix/settings-changes-warning
...
Changed settings warning when leaving page
2020-07-14 13:40:05 -03:00
Nestor Soriano
d2787818e3
Rename `quick-edit-warning` style with `wc-` prefix, and add styling.
2020-07-14 16:02:59 +02:00
Nestor Soriano
a33bcaf532
Remove unnecessary phpcs disabler in quick-edit.js
2020-07-14 11:42:22 +02:00
Nestor Soriano
fd34cf76b2
Fix stock status setting for variable products on bulk & quick edits.
...
For bulk edit: even if stock status was left as "No change", the
status of all variations was being changed to whatever the status
of the product was before it was converted to variable. Now
no change is performed when "No change" is selected, and all
variations change to whatever is selected otherwise.
For quick edit: a new "No change" option is added that will be
preselected when the product is variable. Previously, whatever
status the product had before being converted to variable was being
shown, and that's the status that would be set when saving.
Also, a "This will change the stock status of all variations"
message is displayed before the selector.
2020-07-14 11:42:21 +02:00
Nestor Soriano
39e5a1bfb1
Fix code sniffer errors on quick-edit.js
2020-07-14 11:42:21 +02:00
Jonathan Sadowski
3b9ac931b6
Include alt in the items passed to initialize photoswipe
2020-07-02 13:17:34 -05:00
Jonathan Sadowski
c0fe1e25de
Update jquery zoom to grab alt from source image
2020-07-02 13:17:34 -05:00
Jonathan Sadowski
c9e327809a
Update photoswipe to display alt attribute on preload
2020-07-02 13:17:34 -05:00
Claudio Sanches
ef6b369726
Merge pull request #26536 from catchmareck/master
...
Trigger removed_coupon_in_checkout event after coupon removal on checkout
2020-07-01 14:13:49 -03:00
Claudio Sanches
dec50429b4
Merge pull request #25240 from shamalisulakhe/issue-24266-solution
...
Issue 24266 solution - with rerf of
2020-07-01 13:00:58 -03:00
Claudio Sanches
61caec9a24
Fixed coding standards
2020-07-01 13:00:25 -03:00