natecavanaugh/liferay-portal — pull request #2173 by Robert-Frampton (2014-02-24 20:34:30+00:00)
Title: LPS-44531 Navbar search toggle in mobile view does not display input

Hey @natecavanaugh

Here is the fix needed before the advanced search fix.

I relocated the js from the navbar tag to the nav tag because that's where the html markup is actually being generated, therefore we have access to all the right ids. It's a much better location.

I also wrapped it in a pre-existing if check so that we don't bother calling in the module when the nav tag isn't even collapsible.

Let me know if you have any questions.