1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-28 04:20:32 +02:00

[ticket/13887] Minor JS refactoring

PHPBB3-13887
This commit is contained in:
Callum Macrae
2015-05-29 12:51:28 +02:00
parent 2a83290e7c
commit 143578ad09
5 changed files with 63 additions and 58 deletions

View File

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