diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-07 15:52:41 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-11-08 13:04:40 +0100 |
commit | 77f6456dc75ec31bd4038e8c95e9914f3e0eb8ac (patch) | |
tree | fb132a2082a9ffa4d019833af168f1c42c8b3654 /core | |
parent | 397e6af890e92a02cddd531201c95f86425c5c2f (diff) | |
download | nextcloud-server-77f6456dc75ec31bd4038e8c95e9914f3e0eb8ac.tar.gz nextcloud-server-77f6456dc75ec31bd4038e8c95e9914f3e0eb8ac.zip |
Fix click error on oc-dialog breadcrumb
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 1bc1399466d..9cd806720b8 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -929,7 +929,7 @@ var OCdialogs = { */ _handleTreeListSelect:function(event, type) { var self = event.data; - var dir = $(event.target).parent().data('dir'); + var dir = $(event.target).closest('.crumb').data('dir'); self._fillFilePicker(dir); var getOcDialog = (event.target).closest('.oc-dialog'); var buttonEnableDisable = $('.primary', getOcDialog); |