Selectmenu: fixed destroy method, show original select again, thx to @jzaefferer

This commit is contained in:
Felix Nagel 2011-10-10 20:08:47 +02:00
parent f70a24790c
commit 8944abce67

View File

@ -65,7 +65,6 @@ $.widget( "ui.selectmenu", {
that._addList();
that.refresh();
},
_addNewelement: function() {
@ -414,6 +413,7 @@ $.widget( "ui.selectmenu", {
_destroy: function() {
this.listWrap.remove();
this.newelementWrap.remove();
this.element.show();
}
});