Fix all test channels for user and owner.

This commit is contained in:
James Cole
2024-12-14 06:30:27 +01:00
parent 7d8d773f8f
commit b976239580
23 changed files with 720 additions and 95 deletions

View File

@@ -23,10 +23,19 @@
$(document).ready(function () {
"use strict";
if (!Modernizr.inputtypes.date) {
$('input[type="date"]').datepicker(
{
dateFormat: 'yy-mm-dd'
}
);
$('input[type="date"]').datepicker({
dateFormat: 'yy-mm-dd'
});
}
$('.submit-test').click(submitTest);
});
function submitTest(e) {
var current = $(e.currentTarget);
var channel = current.data('channel');
$.post(postUrl, {channel: channel}, function () {
window.location.reload(true);
});
return false;
}