From 6b34d239c423d27878e964b0c026a96edf321ba2 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sun, 16 Dec 2018 16:30:10 +0100 Subject: [PATCH] UX test --- Site/Pages/v5/Ledgers/EndOfMonth.aspx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Site/Pages/v5/Ledgers/EndOfMonth.aspx b/Site/Pages/v5/Ledgers/EndOfMonth.aspx index ff155956..22e95810 100644 --- a/Site/Pages/v5/Ledgers/EndOfMonth.aspx +++ b/Site/Pages/v5/Ledgers/EndOfMonth.aspx @@ -199,9 +199,13 @@ activeUpload = triggeredUpload; triggeredUpload = null; + // switch action icon upload to status icon waiting var itemId = $(activeUpload).attr('data-item'); $('img.action-icon[data-item="' + itemId + '"]').hide(); $('img.status-icon-pleasewait[data-item="' + itemId + '"]').show(); + + // If there's a skip option, disable it at this time + $('span.action-list-item[data-item="' + itemId + '"] span.action-skip').addClass('action-skip-disabled'); } function clientFailedUpload() { @@ -226,6 +230,8 @@ return; } + // TODO: AJAX CALL TO STORE UPLOAD + activeUpload = null; } @@ -284,6 +290,10 @@ transition: all 0.50s;*/ } + .action-skip .action-skip-disabled { + display: none !important; + } + .action-list-item-disabled .action-skip, .action-list-item-completed .action-skip { -webkit-transition: all 0.50s; transition: all 0.50s;