mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-10 16:57:54 +02:00
Fix clear button in search widget disappears after being reloaded
This commit is contained in:
@ -493,8 +493,10 @@ var et2_searchbox = /** @class */ (function (_super) {
|
||||
};
|
||||
et2_searchbox.prototype.set_value = function (_value) {
|
||||
_super.prototype.set_value.call(this, _value);
|
||||
if (this.search)
|
||||
if (this.search) {
|
||||
this.search.input.val(_value);
|
||||
this.clear.toggle(_value != '');
|
||||
}
|
||||
};
|
||||
et2_searchbox.prototype.set_readonly = function (_readonly) {
|
||||
this.search.set_readonly(_readonly);
|
||||
|
Reference in New Issue
Block a user