|
|
@@ -1934,4 +1934,10 @@ $(document).on('click', '.log-details', function() {
|
|
|
// Choose Log choose-organizr-log
|
|
|
$(document).on("change", ".choose-organizr-log", function () {
|
|
|
organizrLogTable.ajax.url($(this).val()).load();
|
|
|
+});
|
|
|
+
|
|
|
+// Test cron
|
|
|
+$(document).on('click', '.test-cron', function() {
|
|
|
+ let cron = $(this).parent().parent().find('input').val();
|
|
|
+ testAPIConnection('cron',cron);
|
|
|
});
|