X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/cf92775489840f1dc7b2c65fae6b968beadbad7e..8bf6c2bb6ef0a358a3591d19d6aff7a1f7f22b92:/modules/indicator/indicator.js
diff --git a/modules/indicator/indicator.js b/modules/indicator/indicator.js
index 0e9bcdc..f395f83 100644
--- a/modules/indicator/indicator.js
+++ b/modules/indicator/indicator.js
@@ -21,8 +21,11 @@ return function(sandbox) {
showMessage: function(msg) {
view.dom.html('' + msg + '').show();
},
- clearMessage: function() {
+ clearMessage: function(report) {
view.dom.empty();
+ if(report && report.message) {
+ view.dom.html('' + report.message + '').show().fadeOut(4000);
+ }
}
}