]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Removed 404 test
authorSarven Capadisli <csarven@controlyourself.ca>
Tue, 9 Jun 2009 00:09:44 +0000 (00:09 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Tue, 9 Jun 2009 00:09:44 +0000 (00:09 +0000)
js/util.js

index 44c3002cd5dce6dc2d28f63af0358cb6e47a0c67..23abba6c2604b48bd18db8fa48b3af437fa59de0 100644 (file)
@@ -178,7 +178,7 @@ $(document).ready(function(){
                                                                                                                                                                $('#form_notice').append(document._importNode($(".error", xhr.responseXML).get(0), true));
                                                                                                                                                        }
                                                                                                                                                        else {
-                                                                                                                                                               var HTTP20x30x = [200, 404, 201, 202, 203, 204, 205, 206, 300, 301, 302, 303, 304, 305, 306, 307];
+                                                                                                                                                               var HTTP20x30x = [200, 201, 202, 203, 204, 205, 206, 300, 301, 302, 303, 304, 305, 306, 307];
                                                                                                                                                                if(jQuery.inArray(parseInt(xhr.status), HTTP20x30x) < 0) {
                                                                                                                                                                        alert("Sorry! We had trouble sending your notice ("+xhr.status+" "+xhr.statusText+"). Please report the problem to the site administrator if this happens again.");
                                                                                                                                                                }