Commit Graph

1406 Commits

Author SHA1 Message Date
Mike Jolley aa116f325f minify 2016-04-21 17:23:52 +01:00
Mike Jolley a8b2a5668f Added cancel button to shipping zones UI
Closes #10754
2016-04-21 16:18:15 +01:00
Mike Jolley 5af423c1c4 window.load is deprecated
@claudiosmweb
2016-04-20 16:38:58 +01:00
Mike Jolley 9eb32a2bd8 Keeps undo message in view
@coderkevin there was another case where the undo message would be gone
after refresh. This loads the content via ajax still preserving the
message.
2016-04-20 11:21:32 +01:00
Mike Jolley 3a59e3cbad Enable update cart button only when qty's change 2016-04-20 11:10:39 +01:00
Kevin Killingsworth f45a4cd57d Reload cart page upon emptying.
The server shows a different page for the cart
when the cart is completely empty. The Cart AJAX
update subverted this and caused issue #10736 as
a result. Not to mention, the page just didn't look
good or functional with no items left in the cart.

This commit forces a reload any time the cart becomes
empty, which shows the empty page generated from
the server.

Fixes #10736
2016-04-19 23:36:48 -05:00
Claudio Sanches 1603543bf3 Merge pull request #10735 from coderkevin/cart_update
Fix: Ensure cart gets updated
2016-04-19 16:59:31 -03:00
Kevin Killingsworth 069eca0b32 Fix: Ensure cart gets updated
The cart was not getting updated in all cases
when products were removed or shipping was
updated. This ensures those changes update the
cart as well.

Fixes #10734
2016-04-19 13:00:18 -05:00
Mike Jolley 25138f4ce3 Preserve values on add row 2016-04-19 18:27:00 +01:00
Mike Jolley 120a62cd90 minify 2016-04-19 13:44:20 +01:00
Mike Jolley 73658fe17c Merge pull request #10720 from bucketpress/patch-1
Make product tabs and ratings work when product page is loaded via ajax
2016-04-19 07:43:39 -05:00
Mike Jolley f739e97c76 Merge branch 'master' into payment-gateway-wizard-refactor
# Conflicts:
#	assets/css/activation.css
#	assets/css/wc-setup.css
2016-04-19 13:25:20 +01:00
bucketpress dfccfce705 Grouping of delegated events together
As suggested by @claudiosmweb
2016-04-19 10:00:16 +08: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
bucketpress 6cca7029fc Make product tabs and ratings work when product page is loaded via ajax
.wc-tabs-wrapper, .woocommerce-tabs, #rating set as delegated events, so that on ajax loading a product page, we can call 
$( '.wc-tabs-wrapper, .woocommerce-tabs, #rating' ).trigger('init'); to make them work.
2016-04-18 18:08:42 +08:00
Mike Jolley 65f2c24358 Handle tab-reviews click 2016-04-15 18:25:18 +01:00
Kevin Killingsworth 00c3bf9ce3 Fix: Update message on update cart/shipping
This adds the messages to the ajaz update cart
and shipping operations.
2016-04-08 12:02:45 -05:00
Kevin Killingsworth 3073437ea1 Fix: Make cart ajax selectore more specific
The previous jQuery selector was on div.woocommerce,
which was also selecting other divs on the page.
This is more specific to the cart table on the page.
2016-04-06 12:14:54 -05:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley 5a49394102 Justin code review 2016-04-01 11:19:55 +01:00
Mike Jolley 3a00348795 Remove shipping options from wizard 2016-03-31 17:17:11 +01:00
Mike Jolley 32475695a5 Simplify wizard tax rates and import automatically 2016-03-31 15:54:54 +01:00
Mike Jolley 34b65e339a Extra error handling 2016-03-31 15:18:35 +01:00
Mike Jolley 5f6aa6c160 Fix modals and ajax events 2016-03-24 19:06:51 +00:00
Mike Jolley 8b53d1a618 Only load modal if supported 2016-03-24 18:31:39 +00:00
Mike Jolley d3ac3f4073 Modals first pass 2016-03-24 17:26:40 +00:00
Mike Jolley 679443c9c9 Zones screen feedback
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles

@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley 1b520840d6 Merge branch 'pr/10596' 2016-03-24 11:34:08 +00:00
Mike Jolley 26a06a7a69 Tweak check to use indexof 2016-03-24 11:34:00 +00:00
Mike Jolley ca5a46a2f9 Allow bulk deletion of refunds 2016-03-23 16:32:12 +00:00
Mike Jolley dd68a57fff Merge pull request #10592 from woothemes/item-box-tweaks
Order Item Meta Box Tweaks
2016-03-23 15:03:24 +00:00
Mike Jolley 495aac2df1 Remove backslash 2016-03-23 14:28:45 +00:00
Mike Jolley 95de7f5a2c Minor spacing issues 2016-03-23 13:06:15 +00:00
Gorka Maiztegi eaa025229b Added minified javascript file 2016-03-23 10:59:07 +01:00
Gorka Maiztegi 8f184c0a34 Fix tax editing when using WPML
WPML adds the query parameter "lang" to the ajaxurl variable (and potentially other plugins might do the same thing too), so a new query parameter must be prefixed with & and not ?. This small piece of code solves the issue.
2016-03-23 10:32:15 +01:00
Mike Jolley f73149feaf Tweak variation display and reenable bulk editing 2016-03-22 17:13:39 +00:00
Mike Jolley 8d5b9b7b48 min 2016-03-22 15:02:39 +00:00
Mike Jolley f1b3d0f708 Further layout tweaks 2016-03-22 14:54:02 +00:00
Mike Jolley 5862785522 Restyle items panel 2016-03-21 18:35:00 +00:00
gonssal 523ded8358 Fixed password-strength-meter.js' checkPasswordStrength function not being encapsulated into the wrapper 2016-03-21 17:26:33 +01:00
Mike Jolley 7be2b129b6 Removed bulk actions from order items panel
Reduce/increase order item stock is less important these days do to
automatic stock reduction (when status changes) and because when you
refund items you can restock items via checkbox. Manual stock changes
can be performed by editing products.

Decreases complexity of order items box.
2016-03-21 14:58:14 +00:00
Allen Snook bd99d8f1f3 Remove unused new_enabled variable 2016-03-18 13:43:58 -07:00
Mike Jolley 1549158981 Add 'is_enabled' column to instances table and allow toggle in zones screen
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley 699e007659 Wrap export in quotes to preserve commas
Fixes #10541
2016-03-14 12:26:18 +00:00
Mike Bronner de85e5be25 Add tests for localStorage
Some spiders will not error out on sessions storage, but will throw an exception on localstorage. For example, my site has been hit with the following almost on an hourly basis:

```
TypeError: Cannot call method 'setItem' of null
1
File https://maureentaylor.com/app/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js line 1 in [anonymous]
```
2016-03-13 08:42:35 -07:00
Mike Jolley 71f32383f8 Comment and minify 2016-03-12 08:37:02 +00:00
Mike Jolley 7e712ee09a Tweak preserveComments and re-minify 2016-03-12 08:14:37 +00:00
Claudio Sanches ede64f7aa9 Minify and POT 2016-03-11 14:42:34 -03:00
Claudio Sanches ad446d002e Fixed zeroclipboard fallback on firefox 2016-03-10 14:58:50 -03:00