mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6387 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2069aa0f83
commit
02c875ebb4
2 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ function getarraysize(thearray)
|
||||||
{
|
{
|
||||||
for (i = 0; i < thearray.length; i++)
|
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;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -208,7 +208,7 @@ function addquote(post_id, username)
|
||||||
theSelection = document.selection.createRange().text;
|
theSelection = document.selection.createRange().text;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (theSelection == '')
|
if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
|
||||||
{
|
{
|
||||||
if (document.all)
|
if (document.all)
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,7 +33,7 @@ function getarraysize(thearray)
|
||||||
{
|
{
|
||||||
for (i = 0; i < thearray.length; i++)
|
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;
|
return i;
|
||||||
}
|
}
|
||||||
|
@ -208,7 +208,7 @@ function addquote(post_id, username)
|
||||||
theSelection = document.selection.createRange().text;
|
theSelection = document.selection.createRange().text;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (theSelection == '')
|
if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
|
||||||
{
|
{
|
||||||
if (divarea.innerHTML)
|
if (divarea.innerHTML)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue