diff --git a/api/js/etemplate/et2_widget_textbox.js b/api/js/etemplate/et2_widget_textbox.js index 8a857e875b..e1f43d0f30 100644 --- a/api/js/etemplate/et2_widget_textbox.js +++ b/api/js/etemplate/et2_widget_textbox.js @@ -534,7 +534,7 @@ var et2_searchbox = /** @class */ (function (_super) { * override doLoadingFinished in order to set initial state */ et2_searchbox.prototype.doLoadingFinished = function () { - var ret = _super.prototype.doLoadingFinished.call(this); + _super.prototype.doLoadingFinished.call(this); if (!this.get_value()) { this._show_hide(false); } @@ -542,7 +542,7 @@ var et2_searchbox = /** @class */ (function (_super) { this._show_hide(!this.options.overlay); this._searchToggleState(); } - return ret; + return false; }; /** * Overrride attachToDOM in order to unbind change handler diff --git a/api/js/etemplate/et2_widget_textbox.ts b/api/js/etemplate/et2_widget_textbox.ts index d947485921..0ec1b1fe68 100644 --- a/api/js/etemplate/et2_widget_textbox.ts +++ b/api/js/etemplate/et2_widget_textbox.ts @@ -629,7 +629,7 @@ class et2_searchbox extends et2_textbox */ doLoadingFinished() { - let ret = super.doLoadingFinished(); + super.doLoadingFinished(); if (!this.get_value()) { this._show_hide(false); @@ -638,7 +638,7 @@ class et2_searchbox extends et2_textbox this._show_hide(!this.options.overlay); this._searchToggleState(); } - return ret; + return false; } /**