mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Revert part of 5beca59b, fixes file upload bug oc-1926
This commit is contained in:
parent
e36317c21a
commit
4b446f3edd
1 changed files with 1 additions and 4 deletions
|
|
@ -200,8 +200,6 @@ $(document).ready(function() {
|
|||
e.preventDefault(); // prevent browser from doing anything, if file isn't dropped in dropZone
|
||||
});
|
||||
|
||||
if ( document.getElementById("file_upload_start") ) {
|
||||
|
||||
$(function() {
|
||||
$('.file_upload_start').fileupload({
|
||||
dropZone: $('#content'), // restrict dropZone to content div
|
||||
|
|
@ -415,8 +413,7 @@ $(document).ready(function() {
|
|||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
$.assocArraySize = function(obj) {
|
||||
// http://stackoverflow.com/a/6700/11236
|
||||
var size = 0, key;
|
||||
|
|
|
|||
Loading…
Reference in a new issue