[DE PE Embed] Bug 58292

This commit is contained in:
JuliaSvinareva 2022-09-12 17:36:40 +03:00 committed by Ilya Kirillov
parent 33a05836db
commit e313e6ca6e
4 changed files with 4 additions and 4 deletions

View file

@ -109,7 +109,7 @@
}; };
var onInputSearchChange = function (text) { var onInputSearchChange = function (text) {
if (_state.searchText !== text) { if ((text && _state.searchText !== text) || (!text && _state.newSearchText)) {
_state.newSearchText = text; _state.newSearchText = text;
_lastInputChange = (new Date()); _lastInputChange = (new Date());
if (_searchTimer === undefined) { if (_searchTimer === undefined) {

View file

@ -145,7 +145,7 @@ define([
onInputSearchChange: function (text) { onInputSearchChange: function (text) {
var me = this; var me = this;
if (this._state.searchText !== text) { if ((text && this._state.searchText !== text) || (!text && this._state.newSearchText)) {
this._state.newSearchText = text; this._state.newSearchText = text;
this._lastInputChange = (new Date()); this._lastInputChange = (new Date());
if (this.searchTimer === undefined) { if (this.searchTimer === undefined) {

View file

@ -107,7 +107,7 @@
}; };
var onInputSearchChange = function (text) { var onInputSearchChange = function (text) {
if (_state.searchText !== text) { if ((text && _state.searchText !== text) || (!text && _state.newSearchText)) {
_state.newSearchText = text; _state.newSearchText = text;
_lastInputChange = (new Date()); _lastInputChange = (new Date());
if (_searchTimer === undefined) { if (_searchTimer === undefined) {

View file

@ -142,7 +142,7 @@ define([
onInputSearchChange: function (text) { onInputSearchChange: function (text) {
var me = this; var me = this;
if (this._state.searchText !== text) { if ((text && this._state.searchText !== text) || (!text && this._state.newSearchText)) {
this._state.newSearchText = text; this._state.newSearchText = text;
this._lastInputChange = (new Date()); this._lastInputChange = (new Date());
if (this.searchTimer === undefined) { if (this.searchTimer === undefined) {