From 8e31ef425856fb2638a63781efc82a53ef49e69a Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 3 May 2015 21:25:19 +0100 Subject: [PATCH] removed limit due to issue with typeahead --- html/css/styles.css | 1 + html/includes/print-menubar.php | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/html/css/styles.css b/html/css/styles.css index efd359db81..2b9b9b90d9 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -1626,6 +1626,7 @@ tr.search:nth-child(odd) { left: -400px !important; margin-bottom: 20px; overflow: hidden; + padding: 5px; background-color: #fff; -webkit-border-radius: 8px; -moz-border-radius: 8px; diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 9181124472..1b9c4b281e 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -640,7 +640,6 @@ $('#gsearch').typeahead({ source: devices.ttAdapter(), async: true, display: name, - limit: 8, templates: { header: '
 Devices
', suggestion: Handlebars.compile('

{{name}} | {{device_os}} | {{version}} | {{device_hardware}} with {{device_ports}} port(s) | {{location}}

') @@ -650,7 +649,6 @@ $('#gsearch').typeahead({ source: ports.ttAdapter(), async: true, display: name, - limit: 8, templates: { header: '
 Ports
', suggestion: Handlebars.compile('

{{name}} – {{hostname}}
{{description}}

') @@ -660,7 +658,6 @@ $('#gsearch').typeahead({ source: bgp.ttAdapter(), async: true, display: name, - limit: 8, templates: { header: '
 BGP Sessions
', suggestion: Handlebars.compile('

{{name}} - {{hostname}}
AS{{localas}} -> AS{{remoteas}}

')