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

Commit afabf5b

Browse files
author
Gabriel Schulhof
committed
Custom select: Remove dialog upon _destroy. Fixes #5935 - Dynamic Select empty when opening second time.
1 parent 9648130 commit afabf5b

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
@@ -533,6 +533,9 @@ define( [
533533
// Remove the popup
534534
this.listbox.remove();
535535

536+
// Remove the dialog
537+
this.menuPage.remove();
538+
536539
// Chain up
537540
origDestroy.apply( this, arguments );
538541
}

0 commit comments

Comments
 (0)