From b6ce73cf1417a091c231b1367a50946e24c25bdb Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 17 Oct 2016 13:09:21 +0200 Subject: [PATCH] Allow selecting a folder after using the breadcrumb Signed-off-by: Robin Appelman --- core/js/oc-dialogs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);