Fixed compatibility issues with IE

This commit is contained in:
Andreas Stöckel 2010-06-14 16:04:39 +00:00
parent 1800367a2d
commit aca6fc8c5d

View File

@ -18,7 +18,7 @@ function _egw_json_escape_string(input)
for (var i = 0; i < len; i++)
{
switch (input[i])
switch (input.charAt(i))
{
case '"':
res += '\\"';
@ -53,7 +53,7 @@ function _egw_json_escape_string(input)
break;
default:
res += input[i];
res += input.charAt(i);
}
}