From: Chip Black Date: Mon, 7 Mar 2011 04:59:59 +0000 (-0800) Subject: Log out whether or not the server reports success X-Git-Tag: v1.6~13 X-Git-Url: http://git.bytex64.net/?a=commitdiff_plain;h=35b7988fc55d794a4d6fa466c61b21be176e64d0;p=blerg.git Log out whether or not the server reports success --- diff --git a/www/js/blerg.js b/www/js/blerg.js index b882dd9..b0bc38f 100644 --- 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();