[ 
https://issues.apache.org/jira/browse/CB-10615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15158554#comment-15158554
 ] 

Julius van Dis commented on CB-10615:
-------------------------------------

I get the error on all my devices, on both wifi and mobile internet connection.

- Go to cordova.apache.org
- Type random query in search box on top right
- press enter (or click the search icon)
- End up herre : https://www.google.nl/search?q=site:cordova.apache.org

One thing I noticed in the DOM structure:
<form class="navbar-form navbar-right" id="header-search-form" role="search" 
action="https://www.google.com/search"; method="GET">
                        <div class="input-group">
                            <input name="q" class="form-control hidden-sm" 
type="text" placeholder="Site-wide Search">
                            <span class="input-group-btn">
                                <button class="btn search-button" type="submit">
                                    <span class="glyphicon glyphicon-search" 
aria-hidden="true"></span>
                                </button>
                            </span>
                        </div>
                        <input name="q" type="hidden" 
value="site:cordova.apache.org">
                    </form>

You have an input with name ="q" twice. Doesn't the second input overwrites the 
first one?




> Website search function not working
> -----------------------------------
>
>                 Key: CB-10615
>                 URL: https://issues.apache.org/jira/browse/CB-10615
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Website
>            Reporter: Julius van Dis
>            Priority: Trivial
>              Labels: triaged, wfc
>
> On the website, the search function does not function properly. Pressing the 
> search icon brings you to a google search page with query: 
> "site:cordova.apache.org". The actual query, as typed in on the website has 
> gone missing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to