Fixed compatibility issues with IE

This commit is contained in:
Andreas Stöckel 2010-06-14 16:07:12 +00:00
parent b407d67fa8
commit 6889a15f35

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);
}
}