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 %}