PluginProbe
Route ‑ Shipping Protection / 2.2.4
Route ‑ Shipping Protection v2.2.4
2.4.19 2.4.18 2.4.17 2.4.16 2.4.15 2.4.14 2.4.13 2.4.12 2.4.11 2.4.10 2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.2.4 2.2.5 2.2.6 2.2.8 2.2.9 2.3.0 2.3.1 All 153 releases
routeapp / public / js / routeapp-order-sync.js

routeapp-order-sync.js in Route ‑ Shipping Protection 2.2.4, at public/js/routeapp-order-sync.js

21 lines 643 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (function ($) {
2 "use strict";
3 jQuery(function ($) {
4 $('.route-datepicker').datepicker({
5 dateFormat : 'yy-mm-dd'
6 });
7 $('.woocommerce-save-button').html('Sync Orders');
8 if ($('#message').length) {
9 let queryCountMessage = 'Total orders processed: ' + $('#route-order-sync-query-count').html();
10 $('#message').html('<p>' + queryCountMessage + '</p>');
11 }
12 let spinner = new jQuerySpinner({
13 parentId: 'wpwrap'
14 });
15 $('.woocommerce-save-button').on( "click", function() {
16 spinner.show();
17 });
18
19 });
20 })(jQuery);
21