From dbcadcb4aa0e7922c219e2584554e985fc271f6f Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Mon, 25 Nov 2024 10:54:28 +0400 Subject: [PATCH] #12 -- Fix form controls --- src/main/java/ru/ulstu/datamodel/ChartForm.java | 2 +- src/main/resources/templates/index.html | 3 ++- src/main/resources/templates/method.html | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/ru/ulstu/datamodel/ChartForm.java b/src/main/java/ru/ulstu/datamodel/ChartForm.java index 11956d4..020bbe8 100644 --- a/src/main/java/ru/ulstu/datamodel/ChartForm.java +++ b/src/main/java/ru/ulstu/datamodel/ChartForm.java @@ -5,7 +5,7 @@ import ru.ulstu.db.model.TimeSeriesSet; public class ChartForm { private TimeSeriesSet set; - private TimeSeriesMeta timeSeriesMeta; + private TimeSeriesMeta timeSeriesMeta = null; private String methodClassName = null; private boolean needForecast; diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index ce192a0..dba30b4 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -124,7 +124,8 @@ $('#select-ts').selectpicker('refresh'); -
diff --git a/src/main/resources/templates/method.html b/src/main/resources/templates/method.html index 244bc9a..650f890 100644 --- a/src/main/resources/templates/method.html +++ b/src/main/resources/templates/method.html @@ -145,11 +145,11 @@ + -