diff --git a/Backend/mocked-services/src/main/resources/static/html/mock.html b/Backend/mocked-services/src/main/resources/static/html/mock.html index bb373c8..e3b6254 100644 --- a/Backend/mocked-services/src/main/resources/static/html/mock.html +++ b/Backend/mocked-services/src/main/resources/static/html/mock.html @@ -309,9 +309,11 @@
Unsaved data
-
You haven't saved your message! Any changes will be lost.
Do you want to continue?
+
You haven't saved your message!
Do you want to save it?
- + + +
diff --git a/Backend/mocked-services/src/main/resources/static/js/datatransfer.js b/Backend/mocked-services/src/main/resources/static/js/datatransfer.js index adc0cc7..ba21743 100644 --- a/Backend/mocked-services/src/main/resources/static/js/datatransfer.js +++ b/Backend/mocked-services/src/main/resources/static/js/datatransfer.js @@ -155,6 +155,7 @@ function callMethodByName(methodObject){ } } + function updateData(){ var updatedJson = generateJson(); const dataSaved = function () {