From 57e736a4955dc79cb0f26824efe52fdba6e77d7c Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 20 Sep 2025 14:47:52 +1000 Subject: [PATCH] temporarily add some data capturing to dom for debugging, and remove superfluous condition in if --- templates/files.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/files.html b/templates/files.html index 697423f..f1c328f 100644 --- a/templates/files.html +++ b/templates/files.html @@ -15,6 +15,11 @@ p.icon_url = '{{p.icon_url}}' move_paths.push(p) {% endfor %} + + document.OPT = '{{OPT}}' + document.entries = '{{entry_data}}' + document.how_many = '{{OPT.how_many}}' + document.entries_len = '{{entry_data|length}}'
@@ -68,7 +73,7 @@  {{OPT.how_many}} files  {% set nxt_disabled="" %} - {% if not entry_data or entry_data and entry_data|length < OPT.how_many|int %} + {% if not entry_data or entry_data|length < OPT.how_many|int %} {% set nxt_disabled="disabled" %} {% endif %}