mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Another try to avoid jQueryUI error about not created menu
This commit is contained in:
parent
281dfe0fee
commit
c53943aa76
@ -193,7 +193,7 @@ var et2_dropdown_button = et2_inputWidget.extend(
|
|||||||
|
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
// Destroy widget
|
// Destroy widget
|
||||||
if(this.menu && this.menu.menu("widget")) this.menu.menu("destroy");
|
if(this.menu && this.menu.data('ui-menu')) this.menu.menu("destroy");
|
||||||
|
|
||||||
// Null children
|
// Null children
|
||||||
this.image = null;
|
this.image = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user