Commit e04a7e82 authored by Ted Trask's avatar Ted Trask

Changed viewtype ajax to json as per acf-core-0.15.3

parent 913e82a8
......@@ -47,7 +47,7 @@ end
selectdata = array.join("%0D%0A");
}
$.getJSON(
'<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/updateselected") %>?viewtype=ajax&Submit=true&select='+selectdata+'&deselect='+deselectdata,
'<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/updateselected") %>?viewtype=json&Submit=true&select='+selectdata+'&deselect='+deselectdata,
function(data) {}
);
}
......@@ -65,7 +65,7 @@ end
deselectdata = this.id;
}
$.getJSON(
'<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/updateselected") %>?viewtype=ajax&Submit=true&select='+selectdata+'&deselect='+deselectdata,
'<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/updateselected") %>?viewtype=json&Submit=true&select='+selectdata+'&deselect='+deselectdata,
function(data) {}
);
}
......
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