Browse Source

Allow selecting a folder after using the breadcrumb

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/1768/head
Robin Appelman 9 years ago
parent
commit
b6ce73cf14
No known key found for this signature in database GPG Key ID: 425003AC385454C5
  1. 2
      core/js/oc-dialogs.js

2
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);

Loading…
Cancel
Save