For Bug 54797
This commit is contained in:
parent
d540b6d879
commit
f11ea1159f
|
@ -280,16 +280,10 @@ class SearchView extends Component {
|
||||||
{/* <a id="replace-link" className={"link " + (searchQuery.trim().length ? "" : "disabled")} style={!usereplace ? hidden: null} onClick={() => this.onReplaceClick()}>{_t.textReplace}</a>
|
{/* <a id="replace-link" className={"link " + (searchQuery.trim().length ? "" : "disabled")} style={!usereplace ? hidden: null} onClick={() => this.onReplaceClick()}>{_t.textReplace}</a>
|
||||||
<a id="replace-all-link" className={"link " + (searchQuery.trim().length ? "" : "disabled")} style={!usereplace ? hidden: null} onClick={() => this.onReplaceAllClick()}>{_t.textReplaceAll}</a> */}
|
<a id="replace-all-link" className={"link " + (searchQuery.trim().length ? "" : "disabled")} style={!usereplace ? hidden: null} onClick={() => this.onReplaceAllClick()}>{_t.textReplaceAll}</a> */}
|
||||||
|
|
||||||
{/* {isReplaceAll ? (
|
|
||||||
<a id="replace-all-link" className={"link " + (replaceQuery.trim().length ? "" : "disabled")} onClick={() => this.onReplaceAllClick()}>{_t.textReplaceAll}</a>
|
|
||||||
) : usereplace ? (
|
|
||||||
<a id="replace-link" className={"link " + (replaceQuery.trim().length ? "" : "disabled")} onClick={() => this.onReplaceClick()}>{_t.textReplace}</a>
|
|
||||||
) : null} */}
|
|
||||||
|
|
||||||
{isReplaceAll ? (
|
{isReplaceAll ? (
|
||||||
<a id="replace-all-link" className={"link "} onClick={() => this.onReplaceAllClick()}>{_t.textReplaceAll}</a>
|
<a id="replace-all-link" className={"link " + (replaceQuery.trim().length || searchQuery.trim().length ? "" : "disabled")} onClick={() => this.onReplaceAllClick()}>{_t.textReplaceAll}</a>
|
||||||
) : usereplace ? (
|
) : usereplace ? (
|
||||||
<a id="replace-link" className={"link "} onClick={() => this.onReplaceClick()}>{_t.textReplace}</a>
|
<a id="replace-link" className={"link " + (replaceQuery.trim().length || searchQuery.trim().length ? "" : "disabled")} onClick={() => this.onReplaceClick()}>{_t.textReplace}</a>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
<div className="buttons-row">
|
<div className="buttons-row">
|
||||||
|
|
Loading…
Reference in a new issue