Fix for #1382 (Restrictions with "&" in it can't be deleted)

pull/1409/head
Ozzieisaacs 5 years ago
parent 16a3deec2c
commit 486c0f2937

@ -124,7 +124,7 @@ $(function() {
if (field === 3) { if (field === 3) {
$.ajax ({ $.ajax ({
type: "Post", type: "Post",
data: "id=" + row.id + "&type=" + row.type + "&Element=" + row.Element, data: "id=" + row.id + "&type=" + row.type + "&Element=" + encodeURIComponent(row.Element),
url: path + "/../../ajax/deleterestriction/" + type, url: path + "/../../ajax/deleterestriction/" + type,
async: true, async: true,
timeout: 900, timeout: 900,

Loading…
Cancel
Save