Skip to content

Commit 6048976

Browse files
committed
On complete display a tick rather than spinner
1 parent ed5bc27 commit 6048976

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

templates/FullscreenInteractive/QueuedJobProgressField/QueuedJobProgressController.ss

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,25 @@
116116
.removeClass('continue--disabled')
117117

118118
continueSection.find('a').text('Continue');
119-
continueSection.find('p').remove();
119+
continueSection.find('p').hide();
120+
121+
// change to a txt.
122+
$('.fa-sync')
123+
.removeClass('fa-sync fa-spin fa')
124+
.addClass('fas fa-check')
125+
})
126+
127+
$('body').on('queuedjob-resumed', function() {
128+
var continueSection = $('.continue')
129+
.addClass('continue--disabled')
130+
131+
continueSection.find('a').text('Please wait..');
132+
continueSection.find('p').show();
133+
134+
// change to a txt.
135+
$('.fa-check')
136+
.removeClass('fas fa-check')
137+
.addClass('fa-sync fa-spin fa')
120138
})
121139
})
122140
</script>

0 commit comments

Comments
 (0)