mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
git-svn-id: file:///svn/phpbb/trunk@5717 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b2e44f5ba1
commit
852dcd3127
1 changed files with 11 additions and 3 deletions
|
@ -10,13 +10,21 @@ function insert_user(user)
|
|||
|
||||
function insert_marked(users)
|
||||
{
|
||||
for(i = 0; i < users.length; i++)
|
||||
if (typeof(users.length) == "undefined")
|
||||
{
|
||||
if ( users[i].checked )
|
||||
insert_user(users.value);
|
||||
}
|
||||
else if (users.length > 0)
|
||||
{
|
||||
for (i = 0; i < users.length; i++)
|
||||
{
|
||||
insert_user(users[i].value);
|
||||
if (users[i].checked)
|
||||
{
|
||||
insert_user(users[i].value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
self.close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue