Supporting functionality added to date/time picker and progress dialog
authorMike Rylander <mrylander@gmail.com>
Fri, 16 Mar 2018 13:52:50 +0000 (09:52 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 3 Jun 2018 14:27:05 +0000 (07:27 -0700)
commit6fd5a93d2c88f9a372c40f8523675568659f560b
tree95c3b82f8a8bfc14c4ca68828d45b15ca889f7ab
parent55d62d4973e02f674a223e706b879bcc19058baa
Supporting functionality added to date/time picker and progress dialog

Here the date/time picker is given the ability to dynamically hide the time
picking component when show-time-picker is in effect.  This allows an
interface to use the time picker based on ephemeral state information and to
hide it when not useful.

Additionally, the progress dialog now takes an optional label property that
can be passed to both open() and update(), so that textual information can
be provided along with the numeric and visual progress data.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/templates/staff/share/t_datetime.tt2
Open-ILS/src/templates/staff/share/t_progress_dialog.tt2
Open-ILS/web/js/ui/default/staff/services/ui.js