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