From dbba5c5df52fa15d558d099dc47d4fb298b4ece3 Mon Sep 17 00:00:00 2001
From: Callan Barrett <Callan.Barrett@finance.wa.gov.au>
Date: Mon, 30 Dec 2013 15:19:11 +0800
Subject: [PATCH] Remove package search auto-complete and associated js libs

---
 web/html/home.php | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/web/html/home.php b/web/html/home.php
index ddbb0fd..0759ad8 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -105,22 +105,5 @@ html_header( __("Home") );
 	</div>
 
 </div>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
-<script type="text/javascript" src="/js/bootstrap-typeahead.min.js"></script>
-<script type="text/javascript">
-$(document).ready(function() {
-    $('#pkgsearch-field').typeahead({
-        source: function(query, callback) {
-            $.getJSON('<?= get_uri('/rpc'); ?>', {type: "suggest", arg: query}, function(data) {
-                callback(data);
-            });
-        },
-        matcher: function(item) { return true; },
-        sorter: function(items) { return items; },
-        menu: '<ul class="pkgsearch-typeahead"></ul>',
-        items: 20
-    }).attr('autocomplete', 'off');
-});
-</script>
 <?php
 html_footer(AUR_VERSION);
-- 
1.8.1.msysgit.1

