diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-13 07:14:03 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-09-13 07:14:03 +0000 |
| commit | 729368c9d5a27927ea3ad372799873f1b8e298e4 (patch) | |
| tree | 600acdaffadaef7eb9611503ac58f6cfc2ecc5ae | |
| parent | 990f87ffd02260b360b08fca4f28175f987924b5 (diff) | |
- Fix js error when calling spellchecker on empty textarea
git-svn-id: https://svn.roundcube.net/trunk@5211 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/googiespell.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/googiespell.js b/roundcubemail/program/js/googiespell.js index 6101fd2ea..7f465687c 100644 --- a/roundcubemail/program/js/googiespell.js +++ b/roundcubemail/program/js/googiespell.js @@ -211,7 +211,7 @@ this.getUrl = function() this.escapeSpecial = function(val) { - return val.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"); + return val ? val.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">") : ''; }; this.createXMLReq = function (text) |
