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;
|
||||
try {
|
||||
data = JSON.parse(request.responseText);
|
||||
} catch (err) {
|
||||
} catch (error) {
|
||||
try {
|
||||
data = {
|
||||
status: {
|
||||
|
@ -177,7 +177,7 @@ Ox.Request = (function() {
|
|||
text: request.statusText
|
||||
}
|
||||
};
|
||||
} catch (err) {
|
||||
} catch (error) {
|
||||
data = {
|
||||
status: {
|
||||
code: '500',
|
||||
|
|
Loading…
Reference in a new issue