mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13239] Ensure "Add files" button position is correctly calculated.
PHPBB3-13239
This commit is contained in:
parent
101945acf9
commit
430c6aa32f
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,14 @@ phpbb.plupload.initialize = function() {
|
||||||
if (uploader.features.dragdrop) {
|
if (uploader.features.dragdrop) {
|
||||||
$('#drag-n-drop-message').show();
|
$('#drag-n-drop-message').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure "Add files" button position is correctly calculated.
|
||||||
|
if ($('#attach-panel-multi').is(':visible')) {
|
||||||
|
uploader.refresh();
|
||||||
|
}
|
||||||
|
$('[data-subpanel="attach-panel"]').one('click', function() {
|
||||||
|
uploader.refresh();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue