Merge pull request #1842 from ONLYOFFICE/fix/fix-bugs

[SSE] Fix bug 57942
This commit is contained in:
maxkadushkin 2022-07-05 14:44:48 +03:00 committed by GitHub
commit c6b2d2b403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +320,7 @@ define([
} else {
!(found-replaced) && this.removeResultItems();
Common.UI.info({
msg: !(found-replaced) ? Common.Utils.String.format(this.textReplaceSuccess,replaced) : Common.Utils.String.format(this.textReplaceSkipped,found-replaced),
msg: (!(found-replaced) || replaced > found) ? Common.Utils.String.format(this.textReplaceSuccess,replaced) : Common.Utils.String.format(this.textReplaceSkipped,found-replaced),
callback: function() {
me.view.focus();
}