Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solr search button - issue when clicking before js loaded #509

Merged
merged 1 commit into from
Apr 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
</f:if>

<div class="main-navigation__search-btn-wrp _header-top-search-btn">
<a class="main-navigation__search-btn js__main-navigation__search-btn" href="">{s:translate(key:'submit',default:'Search')}<span></span></a>
<a class="main-navigation__search-btn js__main-navigation__search-btn" href="#">{s:translate(key:'submit',default:'Search')}<span></span></a>
</div>
<div class="main-navigation__search-box _header-top-search-btn js__main-navigation__search-box" >
<input type="search" id="inputText" class="tx-solr-q js-solr-q" name="{pluginNamespace}[q]" value="{q}" placeholder="{s:translate(key:'submit',default:'Search')}" data-search="searchSuggest" data-search="searchSuggest" />
<input type="search" id="inputText" class="tx-solr-q js-solr-q" name="{pluginNamespace}[q]" value="{q}" placeholder="{s:translate(key:'submit',default:'Search')}" data-search="searchSuggest" />
</div>

</s:searchForm>

<s:debug.query />
</div>

</f:section>
</f:section>
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</f:if>

<div class="main-navigation__search-btn-wrp">
<a class="main-navigation__search-btn js__main-navigation__search-btn" href="">{s:translate(key:'submit',default:'Search')}<span></span></a>
<a class="main-navigation__search-btn js__main-navigation__search-btn" href="#">{s:translate(key:'submit',default:'Search')}<span></span></a>
</div>
<div class="main-navigation__search-box js__main-navigation__search-box" >
<input type="search" id="inputText" name="{pluginNamespace}[q]" value="{q}" placeholder="{s:translate(key:'submit',default:'Search')}" data-search="searchSuggest" />
Expand All @@ -23,4 +23,4 @@
<s:debug.query />
</div>

</f:section>
</f:section>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="header-top__language-menu">
<f:for each="{languages}" as="language">
<f:if condition="{language.active}">
<a class="header-top__language-menu-btn js__header-top__language-menu-btn" href="/#">
<a class="header-top__language-menu-btn js__header-top__language-menu-btn" href="#">
<span class="main-flag-icon flag-icon flag-icon-{language.flagIdentifier}"></span>
<f:if condition="{theme:constant(constant:'themes.configuration.elem.status.showHeaderTopLangLabel')}">
<span class="main-flag-language flag-language">{f:translate(key:'languageMenu_label', extensionName:'ThemeT3kit')}</span>
Expand Down