mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/1756
This commit is contained in:
@ -1168,6 +1168,11 @@ var CPresentation = CPresentation || function(){};
|
||||
};
|
||||
CPDFDoc.prototype.SetNeedUpdateSearch = function(bUpdate) {
|
||||
this.needUpdateSearch = bUpdate;
|
||||
|
||||
if (bUpdate && this.SearchEngine.TextAroundTimer != null) {
|
||||
clearTimeout(this.SearchEngine.TextAroundTimer);
|
||||
this.SearchEngine.TextAroundTimer = null;
|
||||
}
|
||||
};
|
||||
CPDFDoc.prototype.IsNeedUpdateSearch = function() {
|
||||
return this.needUpdateSearch;
|
||||
|
||||
Reference in New Issue
Block a user