[SSE] Fix Bug 41759

This commit is contained in:
Julia Radzhabova 2019-06-03 15:12:37 +03:00
parent 69e51a41ed
commit efb13f72e6

View file

@ -249,6 +249,7 @@
this.txtSearch.addClass('clear'); this.txtSearch.addClass('clear');
this.btnOptions.hide(); this.btnOptions.hide();
} }
this.menuLookin && this.menuLookin.menu.items[1].setDisabled(false);
this.setHeight(170); this.setHeight(170);
} else { } else {
@ -261,6 +262,7 @@
$inputs.eq(1).hide(); $inputs.eq(1).hide();
this.$window.find('.btn[result=replace]').hide(); this.$window.find('.btn[result=replace]').hide();
this.$window.find('.btn[result=replaceall]').hide(); this.$window.find('.btn[result=replaceall]').hide();
this.menuLookin && this.menuLookin.menu.items[1].setDisabled(false);
this.setHeight(200); this.setHeight(200);
} else { } else {
$inputs.eq(2).show(); $inputs.eq(2).show();
@ -268,6 +270,10 @@
$inputs.eq(1).show(); $inputs.eq(1).show();
this.$window.find('.btn[result=replace]').show(); this.$window.find('.btn[result=replace]').show();
this.$window.find('.btn[result=replaceall]').show(); this.$window.find('.btn[result=replaceall]').show();
if (this.menuLookin) {
this.menuLookin.menu.items[0].setChecked(true);
this.menuLookin.menu.items[1].setDisabled(true);
}
this.setHeight(230); this.setHeight(230);
} }
} }