Upload files with drag&drop in the drive

This commit is contained in:
yflory
2017-06-14 12:47:37 +02:00
parent 494b44e2b1
commit 497ddeee6d
7 changed files with 85 additions and 101 deletions

View File

@@ -96,6 +96,10 @@ define([
} else {
styleToolbar($container);
}
$container.on('drop dragover', function (e) {
e.preventDefault();
e.stopPropagation();
});
return $toolbar;
};