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
No known key found for this signature in database
GPG Key ID: 425003AC385454C5
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
|