Fixing breaking node into two
[fnpeditor.git] / modules / indicator / indicator.js
index 0e9bcdc..f395f83 100644 (file)
@@ -21,8 +21,11 @@ return function(sandbox) {
         showMessage: function(msg) {\r
             view.dom.html('<span>' + msg + '</span>').show();\r
         },\r
-        clearMessage: function() {\r
+        clearMessage: function(report) {\r
             view.dom.empty();\r
+            if(report && report.message) {\r
+                view.dom.html('<span class="success">' + report.message + '</span>').show().fadeOut(4000);\r
+            }\r
         }\r
         \r
     }\r