aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-11-15 01:11:45 +0000
committerDave Whiteland <dave@mysociety.org>2012-11-15 01:11:45 +0000
commit6953d0b7411f50c669567fe3b493fb3e4fbe9a55 (patch)
treee56606023804358dccb493a7beabfee30c5dad75
parent6d55b8b774dcb8e8519d9fd1c2c64be84fdabfd1 (diff)
add refresh in reply_cleanup callback, so the reply is shown on the page as soon as it's been created
-rw-r--r--templates/web/fixmybarangay/report/_message_manager.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/web/fixmybarangay/report/_message_manager.html b/templates/web/fixmybarangay/report/_message_manager.html
index ede5a3f4c..0fa2adff7 100644
--- a/templates/web/fixmybarangay/report/_message_manager.html
+++ b/templates/web/fixmybarangay/report/_message_manager.html
@@ -130,6 +130,7 @@ $(document).ready(function() {
var dummy_reply_cleanup = function(data) {
$('#reply_text').val('');
dummy_busy = false;
+ mm_refresh_messages();
}
var dummy_hide_cleanup = function(data) {