From f85e83f1df7708e1b56e06825b37d9c3cd506169 Mon Sep 17 00:00:00 2001 From: prpr Date: Sat, 13 Jan 2024 11:40:58 +0000 Subject: [PATCH] Add button for quick access to auto.log (from /df) --- webif/html/diag/queue/index.jim | 1 + webif/html/diag/queue/script.js | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/webif/html/diag/queue/index.jim b/webif/html/diag/queue/index.jim index 0f6f7d0..b2c876f 100755 --- a/webif/html/diag/queue/index.jim +++ b/webif/html/diag/queue/index.jim @@ -57,6 +57,7 @@ There are no tasks in the queue. +
Last media scan: retrieving... - diff --git a/webif/html/diag/queue/script.js b/webif/html/diag/queue/script.js index 3bb40cc..7b8d8b2 100644 --- a/webif/html/diag/queue/script.js +++ b/webif/html/diag/queue/script.js @@ -200,6 +200,10 @@ $('#queuetab').on('click', 'a.file', function(e) { encodeURIComponent('{root}/' + dirname(file)); }); +$('#viewlog').button().click(function() { + window.location = '/log/?log=/mod/tmp/auto.log'; +}); + function set_loader() { if (loader != 0) clearInterval(loader);