diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-09-23 10:08:05 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-09-23 10:08:05 +0000 |
commit | 02c875ebb4482db554be742013e8fdcccd11a674 (patch) | |
tree | da402cbfae2053c4b7e939b1827501f38e93c12d /phpBB/styles/subSilver/template/editor.js | |
parent | 2069aa0f83c4aea8493104cc53dfc3c313ea4b51 (diff) | |
download | forums-02c875ebb4482db554be742013e8fdcccd11a674.tar forums-02c875ebb4482db554be742013e8fdcccd11a674.tar.gz forums-02c875ebb4482db554be742013e8fdcccd11a674.tar.bz2 forums-02c875ebb4482db554be742013e8fdcccd11a674.tar.xz forums-02c875ebb4482db554be742013e8fdcccd11a674.zip |
#3802
git-svn-id: file:///svn/phpbb/trunk@6387 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/subSilver/template/editor.js')
-rw-r--r-- | phpBB/styles/subSilver/template/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/subSilver/template/editor.js b/phpBB/styles/subSilver/template/editor.js index a3bd341ab0..e93ca0e51d 100644 --- a/phpBB/styles/subSilver/template/editor.js +++ b/phpBB/styles/subSilver/template/editor.js @@ -33,7 +33,7 @@ function getarraysize(thearray) { for (i = 0; i < thearray.length; i++) { - if (thearray[i] == 'undefined' || thearray[i] == '' || thearray[i] == null) + if (typeof thearray[i] == 'undefined' || thearray[i] == '' || thearray[i] == null) { return i; } @@ -208,7 +208,7 @@ function addquote(post_id, username) theSelection = document.selection.createRange().text; } - if (theSelection == '') + if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null) { if (divarea.innerHTML) { |