Fix click error on oc-dialog breadcrumb
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
397e6af890
commit
77f6456dc7
|
@ -929,7 +929,7 @@ var OCdialogs = {
|
||||||
*/
|
*/
|
||||||
_handleTreeListSelect:function(event, type) {
|
_handleTreeListSelect:function(event, type) {
|
||||||
var self = event.data;
|
var self = event.data;
|
||||||
var dir = $(event.target).parent().data('dir');
|
var dir = $(event.target).closest('.crumb').data('dir');
|
||||||
self._fillFilePicker(dir);
|
self._fillFilePicker(dir);
|
||||||
var getOcDialog = (event.target).closest('.oc-dialog');
|
var getOcDialog = (event.target).closest('.oc-dialog');
|
||||||
var buttonEnableDisable = $('.primary', getOcDialog);
|
var buttonEnableDisable = $('.primary', getOcDialog);
|
||||||
|
|
Loading…
Reference in New Issue