Allow selecting a folder after using the breadcrumb
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
f002a2d2f6
commit
b6ce73cf14
|
@ -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…
Reference in New Issue