aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index e4037454520..b36e46813dc 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -199,9 +199,8 @@ $(document).ready(function() {
$(document).bind('drop dragover', function (e) {
e.preventDefault(); // prevent browser from doing anything, if file isn't dropped in dropZone
});
-
- if ( document.getElementById("file_upload_start") ) {
-
+
+ if ( document.getElementById("data-upload-form") ) {
$(function() {
$('.file_upload_start').fileupload({
dropZone: $('#content'), // restrict dropZone to content div
@@ -416,7 +415,6 @@ $(document).ready(function() {
})
});
}
-
$.assocArraySize = function(obj) {
// http://stackoverflow.com/a/6700/11236
var size = 0, key;