Permalink
Browse files

Custom select: Remove dialog upon _destroy. Fixes #5935 - Dynamic Sel…

…ect empty when opening second time.
  • Loading branch information...
gabrielschulhof committed May 2, 2013
1 parent 9648130 commit afabf5b81b7b24c9f6d1c54c97ec5b8f72787fa1
Showing with 3 additions and 0 deletions.
  1. +3 −0 js/widgets/forms/select.custom.js
@@ -533,6 +533,9 @@ define( [
// Remove the popup
this.listbox.remove();
// Remove the dialog
this.menuPage.remove();
// Chain up
origDestroy.apply( this, arguments );
}

0 comments on commit afabf5b

Please sign in to comment.