Fix link from VFS dialog did not open

This commit is contained in:
nathangray 2020-04-14 14:13:19 -06:00
parent a3c6eba952
commit 821c8474c5
2 changed files with 2 additions and 2 deletions

View File

@ -1063,7 +1063,7 @@ var et2_vfsSelect = /** @class */ (function (_super) {
image: _data.content.mode.match(/saveas|select-dir/) ? "save" : this.options.button_icon
}
];
var extra_buttons_action;
var extra_buttons_action = {};
if (this.options.extra_buttons && this.options.method) {
for (var i = 0; i < this.options.extra_buttons.length; i++) {
delete (this.options.extra_buttons[i]['click']);

View File

@ -1291,7 +1291,7 @@ export class et2_vfsSelect extends et2_inputWidget
image: _data.content.mode.match(/saveas|select-dir/) ? "save" : this.options.button_icon
}
];
let extra_buttons_action;
let extra_buttons_action = {};
if (this.options.extra_buttons && this.options.method)
{