Open maticpetek opened 9 years ago
If i do simple Ajax.ajax(Ajax.createSettings().setUrl(“http://page.com/content.xml”).se tDataType("xml").setType("get").setTimeout(3000).setSuccess(…..), without this fix browser will do the call “http://page.com/content.xml?”.
Please replace in Ajax.java if ("GET".equals(settings.getType()) && settings.getDataString() != null) {
with
if ("GET".equals(settings.getType()) && (settings.getDataString() != null) && (!settings.getDataString().isEmpty())) {
If i do simple Ajax.ajax(Ajax.createSettings().setUrl(“http://page.com/content.xml”).se tDataType("xml").setType("get").setTimeout(3000).setSuccess(…..), without this fix browser will do the call “http://page.com/content.xml?”.
Please replace in Ajax.java if ("GET".equals(settings.getType()) && settings.getDataString() != null) {
with
if ("GET".equals(settings.getType()) && (settings.getDataString() != null) && (!settings.getDataString().isEmpty())) {