Replaced get and post with ajax to prevent XSRF.

Replaced some usages of Console.Writeline with proper logging.
This commit is contained in:
Mark McDowall
2011-12-18 16:07:41 -08:00
parent 2cbc78c780
commit 50e91c0043
6 changed files with 53 additions and 27 deletions
@@ -69,7 +69,6 @@
$.ajax({
type: "GET",
url: autoConfigureSabUrl,
//data: jQuery.param({ username: $('#SabUsername').val(), password: $('#SabPassword').val() }),
error: function (req, status, error) {
alert("Sorry! We could not autoconfigure SABnzbd for you");
},