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.

(cherry picked from commit afabf5b)
  • Loading branch information
Gabriel Schulhof committed May 2, 2013
1 parent d5f995b commit 2e55b22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/widgets/forms/select.custom.js
Expand Up @@ -546,6 +546,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 2e55b22

Please sign in to comment.