diff --git a/war/resources/scripts/hudson-behavior.js b/war/resources/scripts/hudson-behavior.js
index <HASH>..<HASH> 100644
--- a/war/resources/scripts/hudson-behavior.js
+++ b/war/resources/scripts/hudson-behavior.js
@@ -285,7 +285,7 @@ function refreshPart(id,url) {
     window.setTimeout(function() {
         new Ajax.Request(url, {
             method: "post",
-            onComplete: function(rsp, _) {
+            onSuccess: function(rsp) {
                 var hist = $(id);
                 var p = hist.parentNode;
                 var next = hist.nextSibling;
onComplete would trigger even if the request fails.


git-svn-id: <URL>