aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-26 12:46:01 +0200
committerGitHub <noreply@github.com>2017-08-26 12:46:01 +0200
commitcfe5d35862062181883e616ae608b0b0c96aac60 (patch)
tree33c1eaaf62039fa745254cb12bc4151a001d023b /apps/files/js/filelist.js
parentae1ef8513766d846a800e20ec8320fa7921bf622 (diff)
parent69d2d0178a46b72bea2d4618bbd2f42456b9e761 (diff)
downloadnextcloud-server-cfe5d35862062181883e616ae608b0b0c96aac60.tar.gz
nextcloud-server-cfe5d35862062181883e616ae608b0b0c96aac60.zip
Merge pull request #6252 from nextcloud/only_show1_error
Don't try the actual file upload if the checks already error out
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 9bf25c5904d..79ec8e2d9f9 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2795,6 +2795,7 @@
var isCreatable = (self.getDirectoryPermissions() & OC.PERMISSION_CREATE) !== 0;
if (!isCreatable) {
self._showPermissionDeniedNotification();
+ e.stopPropagation();
return false;
}