mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:03:45 +08:00
FIX: Disable buttons when loading more results on full page search.
Follow up to d50deac676
.
This commit is contained in:
parent
f0f1e878fe
commit
8d1709f6b9
|
@ -5,7 +5,7 @@
|
|||
{{#unless site.mobileView}}
|
||||
<div class="search-bar">
|
||||
{{search-text-field value=searchTerm class="full-page-search search no-blur search-query" enter=(action "search") hasAutofocus=hasAutofocus}}
|
||||
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searching}}
|
||||
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searchButtonDisabled}}
|
||||
</div>
|
||||
{{/unless}}
|
||||
|
||||
|
@ -168,7 +168,7 @@
|
|||
{{#if site.mobileView}}
|
||||
<div class="search-bar">
|
||||
{{search-text-field value=searchTerm class="full-page-search search no-blur search-query" enter=(action "search") hasAutofocus=hasAutofocus}}
|
||||
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searching}}
|
||||
{{d-button action=(action "search") icon="search" class="btn-primary search-cta" disabled=searchButtonDisabled}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
@ -197,7 +197,7 @@
|
|||
action=(action "search")
|
||||
icon="search"
|
||||
class="btn-primary search-cta"
|
||||
disabled=searching}}
|
||||
disabled=searchButtonDisabled}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user