From 0e6db5187d54996720a43f9be0f12652451cd127 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Fri, 28 Feb 2025 22:01:44 +0400 Subject: [PATCH] #4 -- Add and remove consequent --- src/main/resources/application.properties | 1 - src/main/resources/public/js/fuzzyRule.js | 4 +++- src/main/resources/templates/project/edit.html | 4 ++-- src/main/resources/templates/rule/edit.html | 6 +++++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 05d3866..9274ab1 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -9,7 +9,6 @@ logging.level.javax.management.remote.rmi=off logging.level.java.rmi.server=off logging.level.org.apache.tomcat=INFO logging.level.org.apache.tomcat.util.net=WARN -extractor.custom-projects-dir= server.error.include-stacktrace=always server.error.include-exception=true server.error.include-message=always diff --git a/src/main/resources/public/js/fuzzyRule.js b/src/main/resources/public/js/fuzzyRule.js index 3536ea6..b675619 100644 --- a/src/main/resources/public/js/fuzzyRule.js +++ b/src/main/resources/public/js/fuzzyRule.js @@ -73,7 +73,9 @@ function errorHandler(response, callBack, errorCallBack) { function getFromRest(url, callBack) { $.ajax({ url: url, - cache: false, + method: 'get', + cache: true, + dataType: 'json', success: function (response) { errorHandler(response, callBack); } diff --git a/src/main/resources/templates/project/edit.html b/src/main/resources/templates/project/edit.html index 2c34e19..9ab2669 100644 --- a/src/main/resources/templates/project/edit.html +++ b/src/main/resources/templates/project/edit.html @@ -40,7 +40,7 @@ - Добавить преременную + Добавить переменную

Список правил

@@ -58,7 +58,7 @@
- -