[SSE] Fix results hiding after replace all

This commit is contained in:
JuliaSvinareva 2022-05-24 13:02:06 +03:00
parent 7a8469925e
commit 1ea8e4c455

View file

@ -318,8 +318,9 @@ define([
if (!found) {
this.allResultsWasRemoved();
} else {
!(found-replaced) && this.allResultsWasRemoved();
Common.UI.info({
msg: !found-replaced ? Common.Utils.String.format(this.textReplaceSuccess,replaced) : Common.Utils.String.format(this.textReplaceSkipped,found-replaced),
msg: !(found-replaced) ? Common.Utils.String.format(this.textReplaceSuccess,replaced) : Common.Utils.String.format(this.textReplaceSkipped,found-replaced),
callback: function() {
me.view.focus();
}