Skip to content

Commit

Permalink
Add fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Staziz committed Dec 12, 2023
1 parent 3e8aeac commit 0bda22a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ class FileManagerFolderChooserDialog extends FileManagerDialogBase {
super._onPopupShown();
}

_onPopupHidden() {
_onPopupHiding() {
this._toggleUnavailableLocationsDisabled(false);
super._onPopupHidden();
super._onPopupHiding();
}

_toggleUnavailableLocationsDisabled(isDisabled) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class FileManagerDialogBase extends Widget {
onInitialized: ({ component }) => {
component.registerKeyHandler('enter', this._applyDialogChanges.bind(this));
},
onHidden: this._onPopupHidden.bind(this),
onHiding: this._onPopupHiding.bind(this),
onShown: this._onPopupShown.bind(this),
_wrapperClassExternal: `${FILE_MANAGER_DIALOG_POPUP} ${options.popupCssClass ?? ''}`
};
Expand Down Expand Up @@ -104,7 +104,7 @@ class FileManagerDialogBase extends Widget {
this._popup.hide();
}

_onPopupHidden() {
_onPopupHiding() {
this._onClosedAction({ dialogResult: this._dialogResult });
}

Expand Down

0 comments on commit 0bda22a

Please sign in to comment.