alecpl
2011-09-13 de36863ea0f3b341056b181026ae2e5a7c039c1b
- Fix js error when calling spellchecker on empty textarea


1 files modified
2 ■■■ changed files
program/js/googiespell.js 2 ●●● patch | view | raw | blame | history
program/js/googiespell.js
@@ -211,7 +211,7 @@
this.escapeSpecial = function(val)
{
    return val.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
    return val ? val.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;") : '';
};
this.createXMLReq = function (text)