1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00
git-svn-id: file:///svn/phpbb/trunk@6636 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Dominik Dröscher
2006-11-22 12:20:17 +00:00
parent 69e33a9d7d
commit d6c5be3d73
3 changed files with 5 additions and 11 deletions

View File

@@ -176,13 +176,10 @@ function insert_text(text, spaces, popup)
/**
* Add inline attachment at position
*/
function attach_inline(index, filename, element)
function attach_inline(index, filename)
{
insert_text('[attachment=' + index + ']' + filename + '[/attachment]');
if (element)
{
element.focus();
}
document.forms[form_name].elements[text_name].focus();
}
/**