mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix searchbox messed up DOMNode
This commit is contained in:
parent
5af17679f3
commit
b2c60f5667
@ -534,7 +534,7 @@ var et2_searchbox = /** @class */ (function (_super) {
|
|||||||
* override doLoadingFinished in order to set initial state
|
* override doLoadingFinished in order to set initial state
|
||||||
*/
|
*/
|
||||||
et2_searchbox.prototype.doLoadingFinished = function () {
|
et2_searchbox.prototype.doLoadingFinished = function () {
|
||||||
var ret = _super.prototype.doLoadingFinished.call(this);
|
_super.prototype.doLoadingFinished.call(this);
|
||||||
if (!this.get_value()) {
|
if (!this.get_value()) {
|
||||||
this._show_hide(false);
|
this._show_hide(false);
|
||||||
}
|
}
|
||||||
@ -542,7 +542,7 @@ var et2_searchbox = /** @class */ (function (_super) {
|
|||||||
this._show_hide(!this.options.overlay);
|
this._show_hide(!this.options.overlay);
|
||||||
this._searchToggleState();
|
this._searchToggleState();
|
||||||
}
|
}
|
||||||
return ret;
|
return false;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Overrride attachToDOM in order to unbind change handler
|
* Overrride attachToDOM in order to unbind change handler
|
||||||
|
@ -629,7 +629,7 @@ class et2_searchbox extends et2_textbox
|
|||||||
*/
|
*/
|
||||||
doLoadingFinished()
|
doLoadingFinished()
|
||||||
{
|
{
|
||||||
let ret = super.doLoadingFinished();
|
super.doLoadingFinished();
|
||||||
|
|
||||||
if (!this.get_value()) {
|
if (!this.get_value()) {
|
||||||
this._show_hide(false);
|
this._show_hide(false);
|
||||||
@ -638,7 +638,7 @@ class et2_searchbox extends et2_textbox
|
|||||||
this._show_hide(!this.options.overlay);
|
this._show_hide(!this.options.overlay);
|
||||||
this._searchToggleState();
|
this._searchToggleState();
|
||||||
}
|
}
|
||||||
return ret;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user