From 5b8f1dd3b585e65ad49c90f77aa9c9d6882fd144 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 25 May 2012 11:44:43 +0200 Subject: [PATCH] rename var --- source/Ox.UI/js/Core/Ox.Request.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Core/Ox.Request.js b/source/Ox.UI/js/Core/Ox.Request.js index 8bb3fb41..79434760 100644 --- a/source/Ox.UI/js/Core/Ox.Request.js +++ b/source/Ox.UI/js/Core/Ox.Request.js @@ -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',