Add "Connection error, or you are banned" back."

This commit is contained in:
Nicolas Stepien 2012-09-12 17:37:24 +02:00
parent f14730e632
commit bcde8426c7
2 changed files with 9 additions and 2 deletions

View File

@ -2456,7 +2456,11 @@
},
onerror: function() {
QR.status();
return QR.error('Connection error with sys.4chan.org.');
return QR.error($.el('a', {
href: '//www.4chan.org/banned',
target: '_blank',
textContent: 'Connection error, or you are banned.'
}));
}
};
opts = {

View File

@ -1909,7 +1909,10 @@ QR =
# Connection error, or
# CORS disabled error on www.4chan.org/banned
QR.status()
QR.error 'Connection error with sys.4chan.org.'
QR.error $.el 'a',
href: '//www.4chan.org/banned',
target: '_blank',
textContent: 'Connection error, or you are banned.'
opts =
form: $.formData post
upCallbacks: