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

[ticket/11915] Make the user aware of the drag-and-drop zone.

PHPBB3-11915
This commit is contained in:
Cesar G
2013-11-27 18:01:18 -08:00
parent 1fedad5e07
commit 020b7a31bf
3 changed files with 7 additions and 1 deletions

View File

@@ -26,6 +26,11 @@ phpbb.plupload.initialize = function() {
// Initialize the Plupload uploader.
uploader.init();
// Point out the drag-and-drop zone if it's supported.
if (!uploader.features.dragdrop) {
$('#drag-n-drop-message').show();
}
};
/**