Skip to content

Commit 00f10ba

Browse files
committed
Fixed delete path trailing slash
1 parent d2181cb commit 00f10ba

File tree

11 files changed

+11
-11
lines changed
  • Chapter 06/myProject/Public/javascript
  • Chapter 07/myProject/Public/javascript
  • Chapter 08/myProject/Public/javascript
  • Chapter 09/myProject/Public/javascript
  • Chapter 10/myProject/Public/javascript
  • Chapter 11/myProject/Public/javascript
  • Chapter 12/myProject/Public/javascript
  • Chapter 13/myProject/Public/javascript
  • Chapter 14/myProject/Public/javascript
  • Chapter 15/myProject/Public/javascript
  • Chapter 16/myProject/Public/javascript

11 files changed

+11
-11
lines changed

Chapter 06/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 07/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 08/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 09/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 10/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 11/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 12/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 13/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 14/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 15/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

Chapter 16/myProject/Public/javascript/admin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function confirmDelete(path, id) {
99
var tr = element.parentElement.parentElement;
1010
tr.parentNode.removeChild(tr);
1111
}
12-
xmlHttp.open("POST", path + id + "/delete", true);
12+
xmlHttp.open("POST", path + id + "/delete/", true);
1313
xmlHttp.send(null);
1414
}
1515
}

0 commit comments

Comments
 (0)