whoops, return in if block

This commit is contained in:
James Campos 2011-09-21 01:18:31 -07:00
parent f14c5b3a44
commit cdbfd99482
2 changed files with 4 additions and 3 deletions

View File

@ -1438,8 +1438,8 @@
if (data) {
if (QR.op) {
window.location = data;
return;
}
return;
data = JSON.parse(data);
$.extend($('a.error', qr), data);
tc = data.textContent;

View File

@ -1131,8 +1131,9 @@ QR =
{qr} = QR
row = $('#files input[form]', qr)?.parentNode
if data
window.location = data if QR.op
return
if QR.op
window.location = data
return
data = JSON.parse data
$.extend $('a.error', qr), data
tc = data.textContent