typeahead in device search now works for interface aliases
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
* When linking to devices, use the DNS name in preference to the IP
|
||||
(makes for more attractive navigation search bar, but need to watch for aliases)
|
||||
* In general, device names do not have domain_suffix trimmed, but nodes do
|
||||
* Search on device interface alias now works for typeahead and device redirect
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
|
||||
@@ -142,6 +142,7 @@ $(document).ready(function() {
|
||||
return process(data);
|
||||
});
|
||||
}
|
||||
,matcher: function () { return true; } // trust backend
|
||||
,minLength: 3
|
||||
});
|
||||
|
||||
|
||||
@@ -70,7 +70,8 @@
|
||||
[% END %]
|
||||
</ul>
|
||||
<form class="navbar-search pull-left" method="get" action="[% uri_for('/search') %]">
|
||||
<input placeholder="Find Anything" class="search-query span3" id="nq" name="q" type="text"/>
|
||||
<input placeholder="Find Anything" class="search-query span3"
|
||||
id="nq" name="q" type="text" autocomplete="off"/>
|
||||
<span style="font-size: 24px;">
|
||||
<i id="navsearchgo" class="icon-search navbar_icon"></i>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user