Commit Graph

12965 Commits

Author SHA1 Message Date
George Stephanis 4dd4550190 Add in tracking for changes. 2015-08-10 18:54:25 -04:00
George Stephanis 755b18bef2 Add in a notification for unsaved changes. 2015-08-10 18:49:06 -04:00
George Stephanis 4d8176a805 Remove debugging per_page override. 2015-08-10 18:39:13 -04:00
George Stephanis 64475025a6 Kinda silly to have min length 3 on a field that holds max 2. 2015-08-10 18:37:53 -04:00
George Stephanis 50cf4e6fe5 Reorder where we're running the before unload 2015-08-10 18:22:27 -04:00
George Stephanis 992917caa0 Manually trigger change event. Why?
Unsure why this needs to be manually triggered, but its seems to.
2015-08-10 18:22:12 -04:00
George Stephanis 0afd9ebd6f Be more specific as to what we're listening for. 2015-08-10 18:21:49 -04:00
Claudio Sanches 4a24aeb5ee Updated the changelog 2015-08-10 18:48:36 -03:00
Claudio Sanches b1f0da9d76 Version 2.4.1 2015-08-10 18:44:32 -03:00
George Stephanis fed3574434 Update the tablenav so the gotos are never out of range. 2015-08-10 17:29:52 -04:00
Claudio Sanches a572c40405 Added the update script for 2.4.1 2015-08-10 18:27:07 -03:00
Claudio Sanches f7c5d3d5f9 Fixed a typo 2015-08-10 18:26:06 -03:00
George Stephanis 743dc23014 Listen for changes in form inputs.
When one is found, update the model to reflect the data in the dom.
2015-08-10 17:24:37 -04:00
George Stephanis b80375ffba Give the Model a setRateAttribute method.
This should simplify updating when listening for changes in the form.
2015-08-10 17:24:06 -04:00
Claudio Sanches 7908d6e55a Improved 2.4.1 update script 2015-08-10 18:23:28 -03:00
George Stephanis ce02cd8a5b String.trim() polyfill. 2015-08-10 17:22:03 -04:00
George Stephanis 5e8ef8f18d Check for truthiness.
This avoids silliness where `’0’` evaluates to true.  Just parse it as
an int and evaluate that.
2015-08-10 17:21:52 -04:00
Claudio Sanches 2ad4592324 WooCommerce 2.4.1 update script 2015-08-10 18:18:33 -03:00
George Stephanis dff70a0509 Add more data attributes to the rows and fields. 2015-08-10 16:54:32 -04:00
Mike Jolley c1cd3f097c Fix notices when calling get_shipping_classes(). 2015-08-10 21:52:21 +01:00
George Stephanis 396752236c Don't base size of news off the dom. 2015-08-10 16:51:26 -04:00
George Stephanis 97251f80b6 Swap to associative array for model. 2015-08-10 16:51:06 -04:00
Mike Jolley 1f5bca4daa Ensure emails are disabled during this update routine
Closes #8758
2015-08-10 21:37:49 +01:00
George Stephanis 7449bf951d Not actually used, comment it out. 2015-08-10 16:27:13 -04:00
George Stephanis 73a52e0ade Probably tidier to use `event` and not `e` 2015-08-10 16:27:04 -04:00
George Stephanis 59a1a313a6 Figured out how to avoid hardcoding the instance. 2015-08-10 16:23:44 -04:00
George Stephanis ccd1734353 Don't use `this` in a callback with the wrong context.
@todo: Find a way to stop needing to refer to the specific instance
from the abstract class.
2015-08-10 16:05:49 -04:00
George Stephanis 1a1a639fac Use $(window).on() instead of window.addEventListener. Because ¯\_(ツ)_/¯ 2015-08-10 16:03:13 -04:00
George Stephanis b16d0f7673 JS objects + trailing commas = sad IE 2015-08-10 16:02:32 -04:00
George Stephanis d7b9c2cbe7 Remove some debugging 2015-08-10 16:02:15 -04:00
Claudio Sanches e12493073e POT for 2.4.0 2015-08-10 12:39:47 -03:00
Claudio Sanches 05bb0170c6 Added some dev notes about the API on the changelog 2015-08-10 12:32:00 -03:00
Mike Jolley 77b2316d80 Merge pull request #8754 from JeroenSormani/is_on_sale
FIx is_on_sale bug on variable products
2015-08-10 15:43:35 +01:00
JeroenSormani 95609928ba FIx is_on_sale bug on variable products 2015-08-10 16:36:40 +02:00
Mike Jolley 7363c85a2c Get filtered variation prices #8753 2015-08-10 15:34:10 +01:00
George Stephanis 6b76f81786 Add a `beforeunload` event to prompt before leaving with unsaved changes. 2015-08-10 10:29:11 -04:00
Mike Jolley 318f399081 Small tidy for scruitinizer 2015-08-10 14:56:02 +01:00
Mike Jolley d3f0fd1bb3 Correct docblocks 2015-08-10 14:42:10 +01:00
Mike Jolley 41e8cf74fb Unused vars 2015-08-10 14:40:14 +01:00
Mike Jolley f687a5a059 When setting up flat and international shipping during wizard, set availability based on base country 2015-08-10 11:03:36 +01:00
Mike Jolley 257010695e Readme, versions, develop blog links 2015-08-10 10:39:08 +01:00
Mike Jolley d71ab7525e Merge branch 'MarinaWoo-patch-1'
Conflicts:
	readme.txt
2015-08-10 10:33:02 +01:00
George Stephanis 29df63b767 Change how things are called to the new bb render. 2015-08-08 14:46:37 -04:00
George Stephanis 9c5a35762b Change the structure to Backbone models/views. 2015-08-08 14:46:21 -04:00
George Stephanis 9c0af3c7ff Whoops! Comma, not semicolon. 2015-08-08 14:45:37 -04:00
George Stephanis e0d9ff8891 Set backbone and underscore as script dependencies. 2015-08-08 14:45:21 -04:00
George Stephanis f9331ab5c4 Should be comparing to `'1'` not `1`. 2015-08-08 11:03:46 -04:00
George Stephanis d2e4f31042 Optimization, save the $table selector to avoid some dom lookups. 2015-08-08 10:57:46 -04:00
George Stephanis 7c5d05d29d Whitespace tweaks. 2015-08-08 10:57:22 -04:00
George Stephanis 9946bd1c5c Retool the export to use the global object, not parsing out of the dom. 2015-08-08 10:57:03 -04:00