From 2b9795ebf5187ac607d9864fa3c30b041c8a931b Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 4 Mar 2009 20:59:16 +0000 Subject: Remove addition options to the autocomplete call. No point in sending csrf if we are not verifying it. Remove the must match flag so non-existent paths don't cause the input box to empty --- modules/server_add/js/admin.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/server_add/js/admin.js') diff --git a/modules/server_add/js/admin.js b/modules/server_add/js/admin.js index dcd0dde0..15f0f57c 100644 --- a/modules/server_add/js/admin.js +++ b/modules/server_add/js/admin.js @@ -9,10 +9,8 @@ $("document").ready(function() { }); function add_autocomplete() { - $("#gServerAddAdmin input:text").autocomplete(base_url + "admin/server_add/autocomplete", { - extraParams: {csrf: csrf}, - mustMatch: true, - max: 256}); + $("#gServerAddAdmin input:text").autocomplete(base_url + "admin/server_add/autocomplete", + {max: 256}); } function ajaxify_add_form(options) { $("#gServerAddAdmin form").ajaxForm({ -- cgit v1.2.3