Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
torus committed Feb 27, 2012
1 parent 4fa359f commit 359a8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synker/public/tasks/tasks.js
Expand Up @@ -250,7 +250,7 @@ Tasks.prototype.send_ajax = function (xmlelem) {
var elem = E_("x", {}, xmlelem)(document)
var xml = elem.innerHTML

var data = "key=" + this.app_key + "&update=" + encodeURI(xml)
var data = {"key": this.app_key, "update": xml}
$.ajax({url: "/push",
type: "POST",
data: data})
Expand Down

0 comments on commit 359a8fe

Please sign in to comment.