From a3ed62907c33e18f3d44f3b7c7ee48a86dee5785 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 31 Oct 2022 09:39:03 -0400 Subject: [PATCH] jQuery 3.6.1. --- lib/delivery.php | 4 +- lib/header.php | 6 +- www/jquery.autosize.js | 462 +++++++++++++++++++++-------------------- 3 files changed, 240 insertions(+), 232 deletions(-) diff --git a/lib/delivery.php b/lib/delivery.php index 006112c..574094a 100644 --- a/lib/delivery.php +++ b/lib/delivery.php @@ -122,15 +122,17 @@ } if ($count > 1) { + echo "

$count orders

"; echo "

Drag delivery details to reorder the schedule.

\n"; echo "
\n"; } + else echo "

1 order

"; foreach ($orders as $order) { $contact = get_contact_by_id($order->getBeneficiaryId()); if (! $contact) continue; - echo "
"; + echo "
"; $phones = array(); $area = get_contact_area($contact); diff --git a/lib/header.php b/lib/header.php index 7c9cc08..b24bf9f 100644 --- a/lib/header.php +++ b/lib/header.php @@ -2,9 +2,9 @@ <?php echo "$charity"; if ($module) echo " - $module"; ?> \n"; - echo "\n"; - echo "\n"; + echo "\n"; + echo "\n"; + echo "\n"; ?> diff --git a/www/jquery.autosize.js b/www/jquery.autosize.js index 0f296d4..3e575d0 100644 --- a/www/jquery.autosize.js +++ b/www/jquery.autosize.js @@ -1,250 +1,256 @@ -/*! - Autosize v1.18.1 - 2013-11-05 - Automatically adjust textarea height based on user input. - (c) 2013 Jack Moore - http://www.jacklmoore.com/autosize - license: http://www.opensource.org/licenses/mit-license.php -*/ -(function ($) { - var - defaults = { - className: 'autosizejs', - append: '', - callback: false, - resizeDelay: 10 - }, - - // border:0 is unnecessary, but avoids a bug in Firefox on OSX - copy = '