From 0bda22a2008cb567865fbabd9ca10b78c2345a29 Mon Sep 17 00:00:00 2001 From: Stanislav Klesarev Date: Tue, 12 Dec 2023 17:45:04 +0400 Subject: [PATCH] Add fix --- .../ui/file_manager/ui.file_manager.dialog.folder_chooser.js | 4 ++-- .../devextreme/js/ui/file_manager/ui.file_manager.dialog.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.folder_chooser.js b/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.folder_chooser.js index be2fc5e3edd4..3be7c3c0b8f6 100644 --- a/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.folder_chooser.js +++ b/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.folder_chooser.js @@ -86,9 +86,9 @@ class FileManagerFolderChooserDialog extends FileManagerDialogBase { super._onPopupShown(); } - _onPopupHidden() { + _onPopupHiding() { this._toggleUnavailableLocationsDisabled(false); - super._onPopupHidden(); + super._onPopupHiding(); } _toggleUnavailableLocationsDisabled(isDisabled) { diff --git a/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.js b/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.js index 349baa89a5bc..bd8d77ee1966 100644 --- a/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.js +++ b/packages/devextreme/js/ui/file_manager/ui.file_manager.dialog.js @@ -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 ?? ''}` }; @@ -104,7 +104,7 @@ class FileManagerDialogBase extends Widget { this._popup.hide(); } - _onPopupHidden() { + _onPopupHiding() { this._onClosedAction({ dialogResult: this._dialogResult }); }