From 0cd8f6b3a7ce502ee6536c9298f3e32545fa70f8 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 27 Nov 2021 20:09:13 -0500 Subject: [PATCH] Fix bug where no fields were required while editing servers --- app/classes/shared/main_controller.py | 1 + .../templates/panel/server_config.html | 22 +++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/app/classes/shared/main_controller.py b/app/classes/shared/main_controller.py index 9d90ad3c..83165672 100644 --- a/app/classes/shared/main_controller.py +++ b/app/classes/shared/main_controller.py @@ -185,6 +185,7 @@ class Controller: def stop_server(self, server_id): # issue the stop command + svr_obj = self.get_server_obj(server_id) svr_obj.stop_threaded_server() def create_jar_server(self, server: str, version: str, name: str, min_mem: int, max_mem: int, port: int): diff --git a/app/frontend/templates/panel/server_config.html b/app/frontend/templates/panel/server_config.html index 06c73cb7..c57fac5b 100644 --- a/app/frontend/templates/panel/server_config.html +++ b/app/frontend/templates/panel/server_config.html @@ -43,57 +43,57 @@
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +