mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 02:18:31 +02:00
Etemplate: Avoid error if sender is not passed
This commit is contained in:
@ -515,7 +515,7 @@ var et2_searchbox = /** @class */ (function (_super) {
|
||||
return true;
|
||||
};
|
||||
et2_searchbox.prototype.getDOMNode = function (asker) {
|
||||
if (asker.getParent() == this) {
|
||||
if (asker && asker.getParent() == this) {
|
||||
return this.flex[0];
|
||||
}
|
||||
return _super.prototype.getDOMNode.call(this, asker);
|
||||
|
Reference in New Issue
Block a user