diff options
Diffstat (limited to 'swat/scripting')
-rw-r--r-- | swat/scripting/client/encoder.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swat/scripting/client/encoder.js b/swat/scripting/client/encoder.js index 20eec9e2c3..2b1db669d2 100644 --- a/swat/scripting/client/encoder.js +++ b/swat/scripting/client/encoder.js @@ -37,7 +37,7 @@ function encodeObject(o) { r = r + "" + i + ":" + t + ":" + o[i] + ":"; } else if (t == 'undefined' || t == 'null') { r = r + "" + i + ":" + t + ":"; - } else { + } else if (t != 'function') { alert("Unable to encode type " + t); } } |