Recordings tab fix.

Ylian Saint-Hilaire committed Jul 31, 2020 at 12:11 UTC 38a8a12a49ce6f406ab0e12266a0b6ca3d283449
1 file changed +2 -2
views/default.handlebars
+2 -2
@@ -11984,7 +11984,7 @@
11984 var p52recordings = null;
11985 function updateRecordings() {
11986 // Save the list of currently checked recordings
11987 - var checkedRecordings = [], elements = document.getElementsByClassName('RecordingCheckbox'), x = '';
11987 + var checkedRecordings = [], elements = document.getElementsByClassName('RecordingCheckbox'), x = '', addHeader = true;
11988 for (var i=0;i<elements.length;i++) { if (elements[i].checked) { checkedRecordings.push(elements[i].value); } }
11989
11990 if (p52recordings == null) {
@@ -11993,7 +11993,7 @@
11993 x += '<div style=width:100%;text-align:center;margin-top:20px><i>' + "No recordings." + "</i></div>";
11994 } else {
11995 // Display the users using the sorted list
11996 - x += '<table class=p3usersTable cellpadding=0 cellspacing=0>', addHeader = true;
11996 + x += '<table class=p3usersTable cellpadding=0 cellspacing=0>';
11997 x += '<th>' + "Session" + '<th style=width:110px>' + nobreak("Start Time") + '<th style=width:110px>' + "Duration" + '<th style=width:110px>' + "Size";
11998 if (p52recordings != null) {
11999 var recdate = null;