2fcd48e3 by Ean Schuessler

Merge branch 'BF-4034' of gitlab.brainfood.com:brainfood/ofbiz-directcontrolservlet into BF-4034

Conflicts:
	src/com/brainfood/ofbiz/DirectControlServlet.java
2 parents 8c10669a 6ad55ef2
......@@ -131,6 +131,7 @@ public class DirectControlServlet extends HttpServlet {
// Check if the request is a backbone style "emulateJSON" request
if (request.getContentType().indexOf("x-www-form-urlencoded") != -1 &&
request.getParameter("model") != null) {
Debug.logInfo("MODEL: " + request.getParameter("model"), module);
JSON json = new JSON(new StringReader(request.getParameter("model")));
Map<String,Object> items = json.JSONObject();
for (String key : items.keySet()) {
......