mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
Avoid error if menu was not created
This commit is contained in:
parent
5a5b02c304
commit
2875455a59
@ -193,7 +193,7 @@ var et2_dropdown_button = et2_inputWidget.extend(
|
|||||||
|
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
// Destroy widget
|
// Destroy widget
|
||||||
this.menu.menu("destroy");
|
if(this.menu) this.menu.menu("destroy");
|
||||||
|
|
||||||
// Null children
|
// Null children
|
||||||
this.image = null;
|
this.image = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user