rename var

This commit is contained in:
rolux 2012-05-25 11:44:43 +02:00
parent f2be6ebcc0
commit 5b8f1dd3b5

View file

@ -169,7 +169,7 @@ Ox.Request = (function() {
var $dialog, data; var $dialog, data;
try { try {
data = JSON.parse(request.responseText); data = JSON.parse(request.responseText);
} catch (err) { } catch (error) {
try { try {
data = { data = {
status: { status: {
@ -177,7 +177,7 @@ Ox.Request = (function() {
text: request.statusText text: request.statusText
} }
}; };
} catch (err) { } catch (error) {
data = { data = {
status: { status: {
code: '500', code: '500',