Skip to content

Commit

Permalink
Small fix to ajax adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
ericabouaf committed Jul 23, 2009
1 parent 2fa05c5 commit e0183a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VERSION.txt
Expand Up @@ -7,6 +7,7 @@ not released yet

Before release:

* document existing Adapters (ajax, gears, json-rpc)
* Rebuild homepage from guide
* API Doc
* Rollup files for wireit-base and wiringEditor
Expand Down Expand Up @@ -39,6 +40,7 @@ Changeset:
Bugfixes:
* WiringEditor: Containers were mispositionned when the layer was scrolled
* Wire positioning for wirables fields in FormContainer
* Updating Excanvas to R3 - now works in IE8

----------------------------------------------------

Expand Down
3 changes: 3 additions & 0 deletions js/adapters/ajax.js
Expand Up @@ -23,6 +23,9 @@ WireIt.WiringEditor.adapters.Ajax = {
}
},

init: function() {
YAHOO.util.Connect.setDefaultPostHeader('application/json');
},

saveWiring: function(val, callbacks) {
this._sendRequest("saveWiring", val, callbacks);
Expand Down

0 comments on commit e0183a3

Please sign in to comment.