Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 2e55b22

Browse files
author
Gabriel Schulhof
committed
Custom select: Remove dialog upon _destroy. Fixes #5935 - Dynamic Select empty when opening second time.
(cherry picked from commit afabf5b)
1 parent d5f995b commit 2e55b22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/widgets/forms/select.custom.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,9 @@ define( [
546546
// Remove the popup
547547
this.listbox.remove();
548548

549+
// Remove the dialog
550+
this.menuPage.remove();
551+
549552
// Chain up
550553
origDestroy.apply( this, arguments );
551554
}

0 commit comments

Comments
 (0)