summaryrefslogtreecommitdiff
path: root/modules/server_add/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-04 20:59:16 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-04 20:59:16 +0000
commit2b9795ebf5187ac607d9864fa3c30b041c8a931b (patch)
tree7a79c0e8fbe3ba4b6be0b38d163715fc5900e8e3 /modules/server_add/js
parent705e6d62b7d75120822a559e9cc11f1159db5348 (diff)
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
Diffstat (limited to 'modules/server_add/js')
-rw-r--r--modules/server_add/js/admin.js6
1 files changed, 2 insertions, 4 deletions
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({