Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ect empty when opening second time.

(cherry picked from commit afabf5b)
  • Loading branch information...
commit 2e55b227c31e1640ae7555fb621cf2a813d549a7 1 parent d5f995b
@gabrielschulhof gabrielschulhof authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  js/widgets/forms/select.custom.js
View
3  js/widgets/forms/select.custom.js
@@ -546,6 +546,9 @@ define( [
// Remove the popup
this.listbox.remove();
+ // Remove the dialog
+ this.menuPage.remove();
+
// Chain up
origDestroy.apply( this, arguments );
}
Please sign in to comment.
Something went wrong with that request. Please try again.