Commit 486c0f29 authored by Ozzieisaacs's avatar Ozzieisaacs

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

parent 16a3deec
......@@ -124,7 +124,7 @@ $(function() {
if (field === 3) {
$.ajax ({
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,
async: true,
timeout: 900,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment