[SSE] Fix results hiding after replace all
This commit is contained in:
parent
7a8469925e
commit
1ea8e4c455
|
@ -318,8 +318,9 @@ define([
|
||||||
if (!found) {
|
if (!found) {
|
||||||
this.allResultsWasRemoved();
|
this.allResultsWasRemoved();
|
||||||
} else {
|
} else {
|
||||||
|
!(found-replaced) && this.allResultsWasRemoved();
|
||||||
Common.UI.info({
|
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() {
|
callback: function() {
|
||||||
me.view.focus();
|
me.view.focus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue