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

Commit

Permalink
Custom select: Remove dialog upon _destroy. Fixes #5935 - Dynamic Sel…
Browse files Browse the repository at this point in the history
…ect empty when opening second time.
  • Loading branch information
Gabriel Schulhof committed May 2, 2013
1 parent 9648130 commit afabf5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/widgets/forms/select.custom.js
Expand Up @@ -533,6 +533,9 @@ define( [
// Remove the popup
this.listbox.remove();

// Remove the dialog
this.menuPage.remove();

// Chain up
origDestroy.apply( this, arguments );
}
Expand Down

0 comments on commit afabf5b

Please sign in to comment.