Commits
Thomas Tornevall authored ffadcdba218
[RWC-183]
[RWC-166]
Fix #15.
Callback to setRbwcPurchaseReject added, so we can ajaxify rejections centralized.
Each reject is triggered by this:
$rQuery('body').on('rbwc_purchase_reject', function (event, data) {
setRbwcPurchaseReject(data);
});
Trigger added in v1 and v2.
Added method to show generic error messages on top of the woocommerce-parts (starting from class .woocommerce).
Cleaned up references to $, as we already have $rQuery to use.
purchase_reject added to WordPress-helper as a valid api call.
Added main function in PluginApi to handle all kind of rejections.
Updated admindetails (see https://docs.tornevall.net/pages/viewpage.action?pageId=88441385).