diff --git a/management/templates/mailgraph.html b/management/templates/mailgraph.html
index 22d76088..91577512 100644
--- a/management/templates/mailgraph.html
+++ b/management/templates/mailgraph.html
@@ -40,7 +40,7 @@
'GET',
'',
function(data) {
- $(this).attr('src', 'data:image/gif;base64,' + data);
+ $(that).attr('src', 'data:image/gif;base64,' + data);
}
);
});