Permalink
Browse files

added credentials header / fixed parseerror

  • Loading branch information...
1 parent 1e4d560 commit ea1f977bd7bbf4136150f736d4cb301c088f423b @rocknrolaf rocknrolaf committed Mar 10, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 dullahan/public/~/js/webdav.js
@@ -117,7 +117,8 @@
callback.call(this, request.responseXML);
}
},
- dataType: 'text/xml',
+ dataType: 'xml',
+ xhrFields: { withCredentials: true },
type: 'PROPFIND',
url: uri
});
@@ -129,6 +130,7 @@
callback.call(this, request.responseXML);
}
},
+ xhrFields: { withCredentials: true },
url: url
});
},
@@ -140,6 +142,7 @@
}
},
type: 'MKCOL',
+ xhrFields: { withCredentials: true },
url: url
});
},
@@ -151,6 +154,7 @@
}
},
type: 'DELETE',
+ xhrFields: { withCredentials: true },
url: url
});
},
@@ -172,6 +176,7 @@
}
},
type: 'COPY',
+ xhrFields: { withCredentials: true },
url: url
});
},
@@ -193,6 +198,7 @@
}
},
type: 'MOVE',
+ xhrFields: { withCredentials: true },
url: url
});
}

0 comments on commit ea1f977

Please sign in to comment.