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 { ...@@ -131,6 +131,7 @@ public class DirectControlServlet extends HttpServlet {
131 // Check if the request is a backbone style "emulateJSON" request 131 // Check if the request is a backbone style "emulateJSON" request
132 if (request.getContentType().indexOf("x-www-form-urlencoded") != -1 && 132 if (request.getContentType().indexOf("x-www-form-urlencoded") != -1 &&
133 request.getParameter("model") != null) { 133 request.getParameter("model") != null) {
134 Debug.logInfo("MODEL: " + request.getParameter("model"), module);
134 JSON json = new JSON(new StringReader(request.getParameter("model"))); 135 JSON json = new JSON(new StringReader(request.getParameter("model")));
135 Map<String,Object> items = json.JSONObject(); 136 Map<String,Object> items = json.JSONObject();
136 for (String key : items.keySet()) { 137 for (String key : items.keySet()) {
......