From c58d323e215b17f82ef8cf72779c3edd54c3e308 Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 19 Oct 2026 20:05:39 +0300 Subject: [PATCH] refactor(instances): the instance page drops scripts for console fields it no longer has The console settings form lost its password, keymap and listen address fields long ago (47009d4), but its scripts stayed: show_console(), which nothing calls, change handlers for #console_passwd_gen, #console_passwd_clear and #console_keymap_clear, and two blocks that preselected #console_select_keymap and #console_select_listener_address. No template defines any of these ids, so the code matched nothing. The instance list drops a commented-out line that read #compute_select. --- instances/templates/allinstances.html | 1 - instances/templates/instance.html | 46 --------------------------- 2 files changed, 47 deletions(-) diff --git a/instances/templates/allinstances.html b/instances/templates/allinstances.html index ff32f79c..e57b1328 100644 --- a/instances/templates/allinstances.html +++ b/instances/templates/allinstances.html @@ -44,7 +44,6 @@ {% if request.user.is_superuser %} -