summaryrefslogtreecommitdiffstats
path: root/apps/files/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-08-24 14:55:17 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-26 11:30:04 +0200
commit69d2d0178a46b72bea2d4618bbd2f42456b9e761 (patch)
tree8df7cdd05f32a9da3e87f06e0617d31d60678073 /apps/files/tests
parentca490bafb950b9d16ab4543ae810c3a67cb84d5b (diff)
downloadnextcloud-server-69d2d0178a46b72bea2d4618bbd2f42456b9e761.tar.gz
nextcloud-server-69d2d0178a46b72bea2d4618bbd2f42456b9e761.zip
Don't try the actual file upload if the checks already error out
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/tests')
-rw-r--r--apps/files/tests/js/filelistSpec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js
index 41d202e9323..a12c0ff49b6 100644
--- a/apps/files/tests/js/filelistSpec.js
+++ b/apps/files/tests/js/filelistSpec.js
@@ -2810,6 +2810,8 @@ describe('OCA.Files.FileList tests', function() {
target: $target
},
preventDefault: function () {
+ },
+ stopPropagation: function() {
}
};
uploader.trigger('drop', eventData, data || {});