diff --git a/js/apps/system/aardvark/frontend/css/documentView.css b/js/apps/system/aardvark/frontend/css/documentView.css index 6276420c76..4f591232e8 100644 --- a/js/apps/system/aardvark/frontend/css/documentView.css +++ b/js/apps/system/aardvark/frontend/css/documentView.css @@ -151,3 +151,11 @@ table.dataTable thead th { #saveDocumentButton { margin-top: 5px; } + +#showSaveState { + display:none; + color: green; + float:right; + margin-top: 10px; + font-weight: 300; +} diff --git a/js/apps/system/aardvark/frontend/js/templates/documentView.ejs b/js/apps/system/aardvark/frontend/js/templates/documentView.ejs index c5bb22531e..19bad37246 100644 --- a/js/apps/system/aardvark/frontend/js/templates/documentView.ejs +++ b/js/apps/system/aardvark/frontend/js/templates/documentView.ejs @@ -8,6 +8,7 @@
+
Saved...
diff --git a/js/apps/system/aardvark/frontend/js/views/documentView.js b/js/apps/system/aardvark/frontend/js/views/documentView.js index ff9c93764b..0bee072b95 100644 --- a/js/apps/system/aardvark/frontend/js/views/documentView.js +++ b/js/apps/system/aardvark/frontend/js/views/documentView.js @@ -80,6 +80,10 @@ return; } } + + if (result === true) { + $('#showSaveState').fadeIn(1000).fadeOut(1000); + } }, breadcrumb: function () {