From 74fa9422db01fbc017ddbc847333cc7847f185ab Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 19 May 2012 11:20:47 -0700 Subject: Revert "Prevent server_add autocomplete from being interpreted as UTF-7. Fixes #1871." This only fixes server_add, we need to fix it more systemically. This reverts commit 88c0363344860ff87bb7fa2d084b8ab190b364cb. --- modules/server_add/views/admin_server_add.html.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'modules/server_add/views') diff --git a/modules/server_add/views/admin_server_add.html.php b/modules/server_add/views/admin_server_add.html.php index b8443446..176cff72 100644 --- a/modules/server_add/views/admin_server_add.html.php +++ b/modules/server_add/views/admin_server_add.html.php @@ -9,23 +9,6 @@ $("document").ready(function() { { max: 256, loadingClass: "g-loading-small", - parse: function(data) { - var parsed = []; - var rows = data.split("\n"); - rows.shift(); // drop tag - for (var i=0; i < rows.length; i++) { - var row = $.trim(rows[i]); - if (row) { - row = row.split("|"); - parsed[parsed.length] = { - data: row, - value: row[0], - result: row[0] - }; - } - } - return parsed; - } }); }); -- cgit v1.2.3