watchLink1 no longer exists
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 22 Jun 2007 19:08:20 +0000 (19:08 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 22 Jun 2007 19:08:20 +0000 (19:08 +0000)
skins/common/ajaxwatch.js

index 8d07f1c..0389a04 100644 (file)
@@ -74,7 +74,7 @@ wgAjaxWatch.processResult = function(request) {
        }
        var response = request.responseText;
        if( response.match(/^<err#>/) ) {
-               window.location.href = wgAjaxWatch.watchLink1.href;
+               window.location.href = wgAjaxWatch.watchLinks[0].href;
                return;
        } else if( response.match(/^<w#>/) ) {
                wgAjaxWatch.watching = true;