aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-17 13:09:21 +0200
committerRobin Appelman <robin@icewind.nl>2016-10-19 14:18:21 +0200
commitb6ce73cf1417a091c231b1367a50946e24c25bdb (patch)
treeb814ccf7f7546c040df6f1cd849559681c926c20 /core
parentf002a2d2f671c7d177fb3c8eb9fa4aad9d3bca7f (diff)
downloadnextcloud-server-b6ce73cf1417a091c231b1367a50946e24c25bdb.tar.gz
nextcloud-server-b6ce73cf1417a091c231b1367a50946e24c25bdb.zip
Allow selecting a folder after using the breadcrumb
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'core')
-rw-r--r--core/js/oc-dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js
index 00eb0d70a14..d4c9a8201b6 100644
--- a/core/js/oc-dialogs.js
+++ b/core/js/oc-dialogs.js
@@ -833,7 +833,7 @@ var OCdialogs = {
self._fillFilePicker(dir);
var getOcDialog = (event.target).closest('.oc-dialog');
var buttonEnableDisable = $('.primary', getOcDialog);
- if (this.$filePicker.data('mimetype') === "http/unix-directory") {
+ if (this.$filePicker.data('mimetype') === "httpd/unix-directory") {
buttonEnableDisable.prop("disabled", false);
} else {
buttonEnableDisable.prop("disabled", true);