wip api stuff (with some errors I'll clean up after)

This commit is contained in:
John Woodlock
2012-05-11 10:07:00 +10:00
parent 85ac895bb9
commit 6b575fd7f4
2 changed files with 9 additions and 4 deletions
@@ -365,6 +365,10 @@
var jqxhr = $.ajax({
url : url,
type : 'POST',
contentType : "application/json; charset=utf-8",
// dataType : 'jsonp',
// crossDomain : true,
dataType : 'json',
data : form_data,
success : function(data, textStatus, jqXHR) {
currentEditPopup.dialogDiv.dialog("close");
@@ -436,7 +440,7 @@
// dataType : 'jsonp',
// crossDomain : true,
dataType : 'json',
crossDomain : false,
//crossDomain : false,
success : successFunction,
error : errorFunction
});