X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=filex%2Ftemplates%2Ffilex%2Fupload.js.html;h=603f402176c23ff20e7f4acb08824a47583ebb2d;hb=a37c1482b8b0e2d5ba549a14b94a3f8e6335d1fe;hp=1ad049f4e63a434a5e431edd8b8e51720eca8389;hpb=a0070644fd09063d4222ca3142f3e920924c0bea;p=qcg-portal.git diff --git a/filex/templates/filex/upload.js.html b/filex/templates/filex/upload.js.html index 1ad049f..603f402 100644 --- a/filex/templates/filex/upload.js.html +++ b/filex/templates/filex/upload.js.html @@ -78,6 +78,11 @@ if ($('#files').fileupload('active')) return 'Nie zakończono przesyłania wszystkich plików, czy chcesz kontynuować?'; }); + + $(window).on('dragenter dragleave drop', function(e) { + $('#drop-overlay').toggleClass('in'); + }) + });