mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12541] Activate attachments tab when files are dropped into textarea
PHPBB3-12541
This commit is contained in:
@@ -586,6 +586,11 @@ uploader.bind('FilesAdded', function(up, files) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Switch the active tab if the style supports it
|
||||
if (typeof activateSubPanel == 'function') {
|
||||
activateSubPanel('attach-panel');
|
||||
}
|
||||
|
||||
// Show the file list if there aren't any files currently.
|
||||
if (!$('#file-list-container').is(':visible')) {
|
||||
$('#file-list-container').show(100);
|
||||
|
Reference in New Issue
Block a user