rename var
This commit is contained in:
parent
f2be6ebcc0
commit
5b8f1dd3b5
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue