commit:35b7988fc55d794a4d6fa466c61b21be176e64d0
author:Chip Black
committer:Chip Black
date:Sun Mar 6 20:59:59 2011 -0800
parents:30465019b067284f33ffe514e970edcf3ca6f1e5
Log out whether or not the server reports success
diff --git a/www/js/blerg.js b/www/js/blerg.js
line changes: +1/-1
index b882dd9..b0bc38f
--- a/www/js/blerg.js
+++ b/www/js/blerg.js
@@ -69,7 +69,7 @@ LoginStatus.prototype.logout = function() {
         parameters: {
             username: this.username
         },
-        onSuccess: function(r) {
+        onComplete: function(r) {
             this.loggedIn = false;
             document.cookie = "auth=; expires=1-Jan-1970 00:00:00 GMT";
             this.update();