Parcourir la source

added test cron button function logic

CauseFX il y a 4 ans
Parent
commit
ec97372fa2
2 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      js/custom.js
  2. 0 0
      js/custom.min.js

+ 6 - 0
js/custom.js

@@ -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);
 });

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
js/custom.min.js


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff