1
0
Fork 0
mirror of https://github.com/seejohnrun/haste-server.git synced 2024-12-24 02:56:59 +00:00

Explicitly set encoding

Closes #24
This commit is contained in:
John Crepezzi 2012-02-07 17:52:31 -05:00
parent ca9d4c18f7
commit 87e28548b9
2 changed files with 2 additions and 1 deletions

View file

@ -62,6 +62,7 @@ haste_document.prototype.save = function(data, callback) {
type: 'post',
data: data,
dataType: 'json',
contentType: 'application/json; charset=utf-8',
success: function(res) {
_this.locked = true;
_this.key = res.key;

File diff suppressed because one or more lines are too long