Fix php links in js files

Also removed help.js because it's no longer used
This commit is contained in:
Mcat12
2016-12-19 19:59:08 -05:00
committed by DL6ER
parent 2f65430a4d
commit fab94e07fd
5 changed files with 6 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ function sub(index, entry) {
var domain = $("#"+index);
domain.hide("highlight");
$.ajax({
url: "php/sub.php",
url: "scripts/pi-hole/php/sub.php",
method: "post",
data: {"domain":entry, "list":listType, "token":token},
success: function(response) {
@@ -31,7 +31,7 @@ function refresh(fade) {
list.fadeOut(100);
}
$.ajax({
url: "php/get.php",
url: "scripts/pi-hole/php/get.php",
method: "get",
data: {"list":listType},
success: function(response) {
@@ -78,7 +78,7 @@ function add() {
alSuccess.hide();
alFailure.hide();
$.ajax({
url: "php/add.php",
url: "scripts/pi-hole/php/add.php",
method: "post",
data: {"domain":domain.val(), "list":listType, "token":token},
success: function(response) {