mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Check to make sure search sub-widget is created before trying to use it
This commit is contained in:
parent
770ef196fc
commit
7da0e6d27b
@ -88,7 +88,7 @@ var et2_selectAccount = et2_selectbox.extend(
|
||||
* Tell et2 widget framework where to go
|
||||
*/
|
||||
getDOMNode: function(_sender) {
|
||||
if(_sender == this.search_widget)
|
||||
if(this.search_widget != null && _sender == this.search_widget)
|
||||
{
|
||||
return this.search != null ? this.search[0] : this.search_widget._parent.getDOMNode();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user