1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-27 12:00:26 +02:00

[ticket/12542] Rename javascript method and add doc block

PHPBB3-12542
This commit is contained in:
Marc Alexander
2015-04-29 12:24:12 +02:00
parent ae8129b699
commit c018b3bbc7
2 changed files with 16 additions and 2 deletions

View File

@@ -355,7 +355,9 @@ function getCaretPosition(txtarea) {
textarea = doc.forms[form_name].elements[text_name];
phpbb.applyCodeEditor(textarea);
phpbb.applyDragNDrop(textarea);
if ($('#attach-panel').length) {
phpbb.showDragNDrop(textarea);
}
});
})(jQuery);